home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / comm.jar < prev    next >
PKZip Archive  |  2009-09-02  |  38.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: PKZip Archive (archive/zip).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
66% dexvert JAR Archive (archive/jar) ext Supported
100% file Zip archive data, made by v2.3 UNIX, extract using at least v1.0, last modified, last modified Sun, Apr 30 2008 17:09:10, uncompressed size 23960, method=store default
99% file Zip archive, with extra data prepended default (weak)
98% file data default
100% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% dearkID deark: zip (ZIP) default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 23960, uncompressed size: 23960, name: content/xbl-marquee/xbl-marquee.xml default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 25 89 9e 38 b1 9a |PK......|..%..8..|
|00000010| 22 2b 98 5d 00 00 98 5d | 00 00 23 00 00 00 63 6f |"+.]...]|..#...co|
|00000020| 6e 74 65 6e 74 2f 78 62 | 6c 2d 6d 61 72 71 75 65 |ntent/xb|l-marque|
|00000030| 65 2f 78 62 6c 2d 6d 61 | 72 71 75 65 65 2e 78 6d |e/xbl-ma|rquee.xm|
|00000040| 6c 3c 3f 78 6d 6c 20 76 | 65 72 73 69 6f 6e 3d 22 |l<?xml v|ersion="|
|00000050| 31 2e 30 22 3f 3e 0a 3c | 21 2d 2d 20 2a 2a 2a 2a |1.0"?>.<|!-- ****|
|00000060| 2a 20 42 45 47 49 4e 20 | 4c 49 43 45 4e 53 45 20 |* BEGIN |LICENSE |
|00000070| 42 4c 4f 43 4b 20 2a 2a | 2a 2a 2a 0a 20 20 20 2d |BLOCK **|***. -|
|00000080| 20 56 65 72 73 69 6f 6e | 3a 20 4d 50 4c 20 31 2e | Version|: MPL 1.|
|00000090| 31 2f 47 50 4c 20 32 2e | 30 2f 4c 47 50 4c 20 32 |1/GPL 2.|0/LGPL 2|
|000000a0| 2e 31 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |.1. -.| - The|
|000000b0| 20 63 6f 6e 74 65 6e 74 | 73 20 6f 66 20 74 68 69 | content|s of thi|
|000000c0| 73 20 66 69 6c 65 20 61 | 72 65 20 73 75 62 6a 65 |s file a|re subje|
|000000d0| 63 74 20 74 6f 20 74 68 | 65 20 4d 6f 7a 69 6c 6c |ct to th|e Mozill|
|000000e0| 61 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |a Public| License|
|000000f0| 20 56 65 72 73 69 6f 6e | 0a 20 20 20 2d 20 31 2e | Version|. - 1.|
|00000100| 31 20 28 74 68 65 20 22 | 4c 69 63 65 6e 73 65 22 |1 (the "|License"|
|00000110| 29 3b 20 79 6f 75 20 6d | 61 79 20 6e 6f 74 20 75 |); you m|ay not u|
|00000120| 73 65 20 74 68 69 73 20 | 66 69 6c 65 20 65 78 63 |se this |file exc|
|00000130| 65 70 74 20 69 6e 20 63 | 6f 6d 70 6c 69 61 6e 63 |ept in c|omplianc|
|00000140| 65 20 77 69 74 68 0a 20 | 20 20 2d 20 74 68 65 20 |e with. | - the |
|00000150| 4c 69 63 65 6e 73 65 2e | 20 59 6f 75 20 6d 61 79 |License.| You may|
|00000160| 20 6f 62 74 61 69 6e 20 | 61 20 63 6f 70 79 20 6f | obtain |a copy o|
|00000170| 66 20 74 68 65 20 4c 69 | 63 65 6e 73 65 20 61 74 |f the Li|cense at|
|00000180| 0a 20 20 20 2d 20 68 74 | 74 70 3a 2f 2f 77 77 77 |. - ht|tp://www|
|00000190| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 4d 50 4c |.mozilla|.org/MPL|
|000001a0| 2f 0a 20 20 20 2d 0a 20 | 20 20 2d 20 53 6f 66 74 |/. -. | - Soft|
|000001b0| 77 61 72 65 20 64 69 73 | 74 72 69 62 75 74 65 64 |ware dis|tributed|
|000001c0| 20 75 6e 64 65 72 20 74 | 68 65 20 4c 69 63 65 6e | under t|he Licen|
|000001d0| 73 65 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |se is di|stribute|
|000001e0| 64 20 6f 6e 20 61 6e 20 | 22 41 53 20 49 53 22 20 |d on an |"AS IS" |
|000001f0| 62 61 73 69 73 2c 0a 20 | 20 20 2d 20 57 49 54 48 |basis,. | - WITH|
|00000200| 4f 55 54 20 57 41 52 52 | 41 4e 54 59 20 4f 46 20 |OUT WARR|ANTY OF |
|00000210| 41 4e 59 20 4b 49 4e 44 | 2c 20 65 69 74 68 65 72 |ANY KIND|, either|
|00000220| 20 65 78 70 72 65 73 73 | 20 6f 72 20 69 6d 70 6c | express| or impl|
|00000230| 69 65 64 2e 20 53 65 65 | 20 74 68 65 20 4c 69 63 |ied. See| the Lic|
|00000240| 65 6e 73 65 0a 20 20 20 | 2d 20 66 6f 72 20 74 68 |ense. |- for th|
|00000250| 65 20 73 70 65 63 69 66 | 69 63 20 6c 61 6e 67 75 |e specif|ic langu|
|00000260| 61 67 65 20 67 6f 76 65 | 72 6e 69 6e 67 20 72 69 |age gove|rning ri|
|00000270| 67 68 74 73 20 61 6e 64 | 20 6c 69 6d 69 74 61 74 |ghts and| limitat|
|00000280| 69 6f 6e 73 20 75 6e 64 | 65 72 20 74 68 65 0a 20 |ions und|er the. |
|00000290| 20 20 2d 20 4c 69 63 65 | 6e 73 65 2e 0a 20 20 20 | - Lice|nse.. |
|000002a0| 2d 0a 20 20 20 2d 20 54 | 68 65 20 4f 72 69 67 69 |-. - T|he Origi|
|000002b0| 6e 61 6c 20 43 6f 64 65 | 20 69 73 20 4e 65 74 73 |nal Code| is Nets|
|000002c0| 63 61 70 65 27 73 20 58 | 42 4c 20 4d 61 72 71 75 |cape's X|BL Marqu|
|000002d0| 65 65 20 45 6d 75 6c 61 | 74 69 6f 6e 20 63 6f 64 |ee Emula|tion cod|
|000002e0| 65 2e 0a 20 20 20 2d 0a | 20 20 20 2d 20 54 68 65 |e.. -.| - The|
|000002f0| 20 49 6e 69 74 69 61 6c | 20 44 65 76 65 6c 6f 70 | Initial| Develop|
|00000300| 65 72 20 6f 66 20 74 68 | 65 20 4f 72 69 67 69 6e |er of th|e Origin|
|00000310| 61 6c 20 43 6f 64 65 20 | 69 73 0a 20 20 20 2d 20 |al Code |is. - |
|00000320| 4e 65 74 73 63 61 70 65 | 20 43 6f 6d 6d 75 6e 69 |Netscape| Communi|
|00000330| 63 61 74 69 6f 6e 73 20 | 43 6f 72 70 6f 72 61 74 |cations |Corporat|
|00000340| 69 6f 6e 2e 0a 20 20 20 | 2d 20 50 6f 72 74 69 6f |ion.. |- Portio|
|00000350| 6e 73 20 63 72 65 61 74 | 65 64 20 62 79 20 74 68 |ns creat|ed by th|
|00000360| 65 20 49 6e 69 74 69 61 | 6c 20 44 65 76 65 6c 6f |e Initia|l Develo|
|00000370| 70 65 72 20 61 72 65 20 | 43 6f 70 79 72 69 67 68 |per are |Copyrigh|
|00000380| 74 20 28 43 29 20 32 30 | 30 32 0a 20 20 20 2d 20 |t (C) 20|02. - |
|00000390| 74 68 65 20 49 6e 69 74 | 69 61 6c 20 44 65 76 65 |the Init|ial Deve|
|000003a0| 6c 6f 70 65 72 2e 20 41 | 6c 6c 20 52 69 67 68 74 |loper. A|ll Right|
|000003b0| 73 20 52 65 73 65 72 76 | 65 64 2e 0a 20 20 20 2d |s Reserv|ed.. -|
|000003c0| 0a 20 20 20 2d 20 43 6f | 6e 74 72 69 62 75 74 6f |. - Co|ntributo|
|000003d0| 72 28 73 29 3a 0a 20 20 | 20 2d 20 20 20 44 6f 72 |r(s):. | - Dor|
|000003e0| 6f 6e 20 52 6f 73 65 6e | 62 65 72 67 20 3c 64 6f |on Rosen|berg <do|
|000003f0| 72 6f 6e 40 6e 65 74 73 | 63 61 70 65 2e 63 6f 6d |ron@nets|cape.com|
|00000400| 3e 0a 20 20 20 2d 20 20 | 20 4c 2e 20 44 61 76 69 |>. - | L. Davi|
|00000410| 64 20 42 61 72 6f 6e 20 | 3c 64 62 61 72 6f 6e 40 |d Baron |<dbaron@|
|00000420| 64 62 61 72 6f 6e 2e 6f | 72 67 3e 0a 20 20 20 2d |dbaron.o|rg>. -|
|00000430| 0a 20 20 20 2d 20 41 6c | 74 65 72 6e 61 74 69 76 |. - Al|ternativ|
|00000440| 65 6c 79 2c 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |ely, the| content|
|00000450| 73 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 6d |s of thi|s file m|
|00000460| 61 79 20 62 65 20 75 73 | 65 64 20 75 6e 64 65 72 |ay be us|ed under|
|00000470| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 0a 20 20 | the ter|ms of. |
|00000480| 20 2d 20 65 69 74 68 65 | 72 20 74 68 65 20 47 4e | - eithe|r the GN|
|00000490| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000004a0| 20 4c 69 63 65 6e 73 65 | 20 56 65 72 73 69 6f 6e | License| Version|
|000004b0| 20 32 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 | 2 or la|ter (the|
|000004c0| 20 22 47 50 4c 22 29 2c | 20 6f 72 0a 20 20 20 2d | "GPL"),| or. -|
|000004d0| 20 74 68 65 20 47 4e 55 | 20 4c 65 73 73 65 72 20 | the GNU| Lesser |
|000004e0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|000004f0| 69 63 65 6e 73 65 20 56 | 65 72 73 69 6f 6e 20 32 |icense V|ersion 2|
|00000500| 2e 31 20 6f 72 20 6c 61 | 74 65 72 20 28 74 68 65 |.1 or la|ter (the|
|00000510| 20 22 4c 47 50 4c 22 29 | 2c 0a 20 20 20 2d 20 69 | "LGPL")|,. - i|
|00000520| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00000530| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 6f 66 20 74 | provisi|ons of t|
|00000540| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00000550| 50 4c 20 61 72 65 20 61 | 70 70 6c 69 63 61 62 6c |PL are a|pplicabl|
|00000560| 65 20 69 6e 73 74 65 61 | 64 0a 20 20 20 2d 20 6f |e instea|d. - o|
|00000570| 66 20 74 68 6f 73 65 20 | 61 62 6f 76 65 2e 20 49 |f those |above. I|
|00000580| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 61 6c |f you wi|sh to al|
|00000590| 6c 6f 77 20 75 73 65 20 | 6f 66 20 79 6f 75 72 20 |low use |of your |
|000005a0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 69 73 20 |version |of this |
|000005b0| 66 69 6c 65 20 6f 6e 6c | 79 0a 20 20 20 2d 20 75 |file onl|y. - u|
|000005c0| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|000005d0| 66 20 65 69 74 68 65 72 | 20 74 68 65 20 47 50 4c |f either| the GPL|
|000005e0| 20 6f 72 20 74 68 65 20 | 4c 47 50 4c 2c 20 61 6e | or the |LGPL, an|
|000005f0| 64 20 6e 6f 74 20 74 6f | 20 61 6c 6c 6f 77 20 6f |d not to| allow o|
|00000600| 74 68 65 72 73 20 74 6f | 0a 20 20 20 2d 20 75 73 |thers to|. - us|
|00000610| 65 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |e your v|ersion o|
|00000620| 66 20 74 68 69 73 20 66 | 69 6c 65 20 75 6e 64 65 |f this f|ile unde|
|00000630| 72 20 74 68 65 20 74 65 | 72 6d 73 20 6f 66 20 74 |r the te|rms of t|
|00000640| 68 65 20 4d 50 4c 2c 20 | 69 6e 64 69 63 61 74 65 |he MPL, |indicate|
|00000650| 20 79 6f 75 72 0a 20 20 | 20 2d 20 64 65 63 69 73 | your. | - decis|
|00000660| 69 6f 6e 20 62 79 20 64 | 65 6c 65 74 69 6e 67 20 |ion by d|eleting |
|00000670| 74 68 65 20 70 72 6f 76 | 69 73 69 6f 6e 73 20 61 |the prov|isions a|
|00000680| 62 6f 76 65 20 61 6e 64 | 20 72 65 70 6c 61 63 65 |bove and| replace|
|00000690| 20 74 68 65 6d 20 77 69 | 74 68 20 74 68 65 20 6e | them wi|th the n|
|000006a0| 6f 74 69 63 65 0a 20 20 | 20 2d 20 61 6e 64 20 6f |otice. | - and o|
|000006b0| 74 68 65 72 20 70 72 6f | 76 69 73 69 6f 6e 73 20 |ther pro|visions |
|000006c0| 72 65 71 75 69 72 65 64 | 20 62 79 20 74 68 65 20 |required| by the |
|000006d0| 4c 47 50 4c 20 6f 72 20 | 74 68 65 20 47 50 4c 2e |LGPL or |the GPL.|
|000006e0| 20 49 66 20 79 6f 75 20 | 64 6f 20 6e 6f 74 20 64 | If you |do not d|
|000006f0| 65 6c 65 74 65 0a 20 20 | 20 2d 20 74 68 65 20 70 |elete. | - the p|
|00000700| 72 6f 76 69 73 69 6f 6e | 73 20 61 62 6f 76 65 2c |rovision|s above,|
|00000710| 20 61 20 72 65 63 69 70 | 69 65 6e 74 20 6d 61 79 | a recip|ient may|
|00000720| 20 75 73 65 20 79 6f 75 | 72 20 76 65 72 73 69 6f | use you|r versio|
|00000730| 6e 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 75 |n of thi|s file u|
|00000740| 6e 64 65 72 0a 20 20 20 | 2d 20 74 68 65 20 74 65 |nder. |- the te|
|00000750| 72 6d 73 20 6f 66 20 61 | 6e 79 20 6f 6e 65 20 6f |rms of a|ny one o|
|00000760| 66 20 74 68 65 20 4d 50 | 4c 2c 20 74 68 65 20 47 |f the MP|L, the G|
|00000770| 50 4c 20 6f 72 20 74 68 | 65 20 4c 47 50 4c 2e 0a |PL or th|e LGPL..|
|00000780| 20 20 20 2d 0a 20 20 20 | 2d 20 2a 2a 2a 2a 2a 20 | -. |- ***** |
|00000790| 45 4e 44 20 4c 49 43 45 | 4e 53 45 20 42 4c 4f 43 |END LICE|NSE BLOC|
|000007a0| 4b 20 2a 2a 2a 2a 2a 20 | 2d 2d 3e 0a 0a 3c 62 69 |K ***** |-->..<bi|
|000007b0| 6e 64 69 6e 67 73 20 69 | 64 3d 22 6d 61 72 71 75 |ndings i|d="marqu|
|000007c0| 65 65 42 69 6e 64 69 6e | 67 73 22 0a 20 20 20 20 |eeBindin|gs". |
|000007d0| 20 20 20 20 20 20 78 6d | 6c 6e 73 3d 22 68 74 74 | xm|lns="htt|
|000007e0| 70 3a 2f 2f 77 77 77 2e | 6d 6f 7a 69 6c 6c 61 2e |p://www.|mozilla.|
|000007f0| 6f 72 67 2f 78 62 6c 22 | 0a 20 20 20 20 20 20 20 |org/xbl"|. |
|00000800| 20 20 20 78 6d 6c 6e 73 | 3a 68 74 6d 6c 3d 22 68 | xmlns|:html="h|
|00000810| 74 74 70 3a 2f 2f 77 77 | 77 2e 77 33 2e 6f 72 67 |ttp://ww|w.w3.org|
|00000820| 2f 31 39 39 39 2f 78 68 | 74 6d 6c 22 0a 20 20 20 |/1999/xh|tml". |
|00000830| 20 20 20 20 20 20 20 78 | 6d 6c 6e 73 3a 78 75 6c | x|mlns:xul|
|00000840| 3d 22 68 74 74 70 3a 2f | 2f 77 77 77 2e 6d 6f 7a |="http:/|/www.moz|
|00000850| 69 6c 6c 61 2e 6f 72 67 | 2f 6b 65 79 6d 61 73 74 |illa.org|/keymast|
|00000860| 65 72 2f 67 61 74 65 6b | 65 65 70 65 72 2f 74 68 |er/gatek|eeper/th|
|00000870| 65 72 65 2e 69 73 2e 6f | 6e 6c 79 2e 78 75 6c 22 |ere.is.o|nly.xul"|
|00000880| 0a 20 20 20 20 20 20 20 | 20 20 20 78 6d 6c 6e 73 |. | xmlns|
|00000890| 3a 78 62 6c 3d 22 68 74 | 74 70 3a 2f 2f 77 77 77 |:xbl="ht|tp://www|
|000008a0| 2e 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 78 62 6c |.mozilla|.org/xbl|
|000008b0| 22 3e 0a 0a 0a 20 20 3c | 62 69 6e 64 69 6e 67 20 |">... <|binding |
|000008c0| 69 64 3d 22 6d 61 72 71 | 75 65 65 22 3e 0a 0a 20 |id="marq|uee">.. |
|000008d0| 20 20 20 3c 72 65 73 6f | 75 72 63 65 73 3e 0a 20 | <reso|urces>. |
|000008e0| 20 20 20 20 20 3c 73 74 | 79 6c 65 73 68 65 65 74 | <st|ylesheet|
|000008f0| 20 73 72 63 3d 22 63 68 | 72 6f 6d 65 3a 2f 2f 78 | src="ch|rome://x|
|00000900| 62 6c 2d 6d 61 72 71 75 | 65 65 2f 63 6f 6e 74 65 |bl-marqu|ee/conte|
|00000910| 6e 74 2f 78 62 6c 2d 6d | 61 72 71 75 65 65 2e 63 |nt/xbl-m|arquee.c|
|00000920| 73 73 22 2f 3e 0a 20 20 | 20 20 3c 2f 72 65 73 6f |ss"/>. | </reso|
|00000930| 75 72 63 65 73 3e 0a 20 | 20 20 20 3c 69 6d 70 6c |urces>. | <impl|
|00000940| 65 6d 65 6e 74 61 74 69 | 6f 6e 3e 0a 0a 20 20 20 |ementati|on>.. |
|00000950| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|00000960| 5f 73 63 72 6f 6c 6c 41 | 6d 6f 75 6e 74 22 3e 36 |_scrollA|mount">6|
|00000970| 3c 2f 66 69 65 6c 64 3e | 0a 20 20 20 20 20 20 3c |</field>|. <|
|00000980| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 73 |property| name="s|
|00000990| 63 72 6f 6c 6c 41 6d 6f | 75 6e 74 22 3e 0a 20 20 |crollAmo|unt">. |
|000009a0| 20 20 20 20 20 20 3c 67 | 65 74 74 65 72 3e 0a 20 | <g|etter>. |
|000009b0| 20 20 20 20 20 20 20 20 | 20 3c 21 5b 43 44 41 54 | | <![CDAT|
|000009c0| 41 5b 0a 20 20 20 20 20 | 20 20 20 20 20 76 61 72 |A[. | var|
|000009d0| 20 76 61 6c 20 3d 20 70 | 61 72 73 65 49 6e 74 28 | val = p|arseInt(|
|000009e0| 74 68 69 73 2e 67 65 74 | 41 74 74 72 69 62 75 74 |this.get|Attribut|
|000009f0| 65 28 22 73 63 72 6f 6c | 6c 61 6d 6f 75 6e 74 22 |e("scrol|lamount"|
|00000a00| 29 29 3b 0a 0a 20 20 20 | 20 20 20 20 20 20 20 69 |));.. | i|
|00000a10| 66 20 28 76 61 6c 20 3c | 3d 20 30 20 7c 7c 20 69 |f (val <|= 0 || i|
|00000a20| 73 4e 61 4e 28 76 61 6c | 29 29 0a 20 20 20 20 20 |sNaN(val|)). |
|00000a30| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 74 68 | r|eturn th|
|00000a40| 69 73 2e 5f 73 63 72 6f | 6c 6c 41 6d 6f 75 6e 74 |is._scro|llAmount|
|00000a50| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 72 65 74 |;.. | ret|
|00000a60| 75 72 6e 20 76 61 6c 3b | 0a 20 20 20 20 20 20 20 |urn val;|. |
|00000a70| 20 20 20 5d 5d 3e 0a 20 | 20 20 20 20 20 20 20 3c | ]]>. | <|
|00000a80| 2f 67 65 74 74 65 72 3e | 0a 20 20 20 20 20 20 20 |/getter>|. |
|00000a90| 20 3c 73 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 | <setter|>. |
|00000aa0| 20 20 20 20 74 68 69 73 | 2e 73 65 74 41 74 74 72 | this|.setAttr|
|00000ab0| 69 62 75 74 65 28 22 73 | 63 72 6f 6c 6c 61 6d 6f |ibute("s|crollamo|
|00000ac0| 75 6e 74 22 2c 20 76 61 | 6c 29 3b 0a 20 20 20 20 |unt", va|l);. |
|00000ad0| 20 20 20 20 3c 2f 73 65 | 74 74 65 72 3e 0a 20 20 | </se|tter>. |
|00000ae0| 20 20 20 20 3c 2f 70 72 | 6f 70 65 72 74 79 3e 0a | </pr|operty>.|
|00000af0| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|00000b00| 6d 65 3d 22 5f 73 63 72 | 6f 6c 6c 44 65 6c 61 79 |me="_scr|ollDelay|
|00000b10| 22 3e 38 35 3c 2f 66 69 | 65 6c 64 3e 0a 20 20 20 |">85</fi|eld>. |
|00000b20| 20 20 20 3c 70 72 6f 70 | 65 72 74 79 20 6e 61 6d | <prop|erty nam|
|00000b30| 65 3d 22 73 63 72 6f 6c | 6c 44 65 6c 61 79 22 3e |e="scrol|lDelay">|
|00000b40| 0a 20 20 20 20 20 20 20 | 20 3c 67 65 74 74 65 72 |. | <getter|
|00000b50| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 3c 21 5b 43 |>. | <![C|
|00000b60| 44 41 54 41 5b 0a 20 20 | 20 20 20 20 20 20 20 20 |DATA[. | |
|00000b70| 76 61 72 20 76 61 6c 20 | 3d 20 70 61 72 73 65 49 |var val |= parseI|
|00000b80| 6e 74 28 74 68 69 73 2e | 67 65 74 41 74 74 72 69 |nt(this.|getAttri|
|00000b90| 62 75 74 65 28 22 73 63 | 72 6f 6c 6c 64 65 6c 61 |bute("sc|rolldela|
|00000ba0| 79 22 29 29 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |y"));.. | |
|00000bb0| 20 69 66 20 28 76 61 6c | 20 3c 3d 20 30 20 7c 7c | if (val| <= 0 |||
|00000bc0| 20 69 73 4e 61 4e 28 76 | 61 6c 29 29 0a 20 20 20 | isNaN(v|al)). |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|00000be0| 74 68 69 73 2e 5f 73 63 | 72 6f 6c 6c 44 65 6c 61 |this._sc|rollDela|
|00000bf0| 79 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 72 65 |y;.. | re|
|00000c00| 74 75 72 6e 20 76 61 6c | 3b 0a 20 20 20 20 20 20 |turn val|;. |
|00000c10| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|00000c20| 3c 2f 67 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</getter|>. |
|00000c30| 20 20 3c 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <sette|r>. |
|00000c40| 20 20 20 20 20 74 68 69 | 73 2e 73 65 74 41 74 74 | thi|s.setAtt|
|00000c50| 72 69 62 75 74 65 28 22 | 73 63 72 6f 6c 6c 64 65 |ribute("|scrollde|
|00000c60| 6c 61 79 22 2c 20 76 61 | 6c 29 3b 0a 20 20 20 20 |lay", va|l);. |
|00000c70| 20 20 20 20 3c 2f 73 65 | 74 74 65 72 3e 0a 20 20 | </se|tter>. |
|00000c80| 20 20 20 20 3c 2f 70 72 | 6f 70 65 72 74 79 3e 0a | </pr|operty>.|
|00000c90| 0a 20 20 20 20 20 20 3c | 70 72 6f 70 65 72 74 79 |. <|property|
|00000ca0| 20 6e 61 6d 65 3d 22 74 | 72 75 65 53 70 65 65 64 | name="t|rueSpeed|
|00000cb0| 22 3e 0a 20 20 20 20 20 | 20 20 20 3c 67 65 74 74 |">. | <gett|
|00000cc0| 65 72 3e 0a 20 20 20 20 | 20 20 20 20 20 20 3c 21 |er>. | <!|
|00000cd0| 5b 43 44 41 54 41 5b 0a | 20 20 20 20 20 20 20 20 |[CDATA[.| |
|00000ce0| 20 20 69 66 20 28 21 74 | 68 69 73 2e 68 61 73 41 | if (!t|his.hasA|
|00000cf0| 74 74 72 69 62 75 74 65 | 28 22 74 72 75 65 73 70 |ttribute|("truesp|
|00000d00| 65 65 64 22 29 29 0a 20 | 20 20 20 20 20 20 20 20 |eed")). | |
|00000d10| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;|
|00000d20| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 72 65 74 75 |.. | retu|
|00000d30| 72 6e 20 74 72 75 65 3b | 0a 20 20 20 20 20 20 20 |rn true;|. |
|00000d40| 20 20 20 5d 5d 3e 0a 20 | 20 20 20 20 20 20 20 3c | ]]>. | <|
|00000d50| 2f 67 65 74 74 65 72 3e | 0a 20 20 20 20 20 20 20 |/getter>|. |
|00000d60| 20 3c 73 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 | <setter|>. |
|00000d70| 20 20 20 20 3c 21 5b 43 | 44 41 54 41 5b 0a 20 20 | <![C|DATA[. |
|00000d80| 20 20 20 20 20 20 20 20 | 69 66 20 28 76 61 6c 29 | |if (val)|
|00000d90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |. | thi|
|00000da0| 73 2e 73 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |s.setAtt|ribute("|
|00000db0| 74 72 75 65 73 70 65 65 | 64 22 2c 20 22 74 72 75 |truespee|d", "tru|
|00000dc0| 65 73 70 65 65 64 22 29 | 3b 0a 20 20 20 20 20 20 |espeed")|;. |
|00000dd0| 20 20 20 20 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | else|. |
|00000de0| 20 20 20 20 20 74 68 69 | 73 2e 72 65 6d 6f 76 65 | thi|s.remove|
|00000df0| 41 74 74 72 69 62 75 74 | 65 28 27 74 72 75 65 73 |Attribut|e('trues|
|00000e00| 70 65 65 64 27 29 3b 0a | 20 20 20 20 20 20 20 20 |peed');.| |
|00000e10| 20 20 5d 5d 3e 0a 20 20 | 20 20 20 20 20 20 3c 2f | ]]>. | </|
|00000e20| 73 65 74 74 65 72 3e 0a | 20 20 20 20 20 20 3c 2f |setter>.| </|
|00000e30| 70 72 6f 70 65 72 74 79 | 3e 0a 0a 20 20 20 20 20 |property|>.. |
|00000e40| 20 3c 70 72 6f 70 65 72 | 74 79 20 6e 61 6d 65 3d | <proper|ty name=|
|00000e50| 22 64 69 72 65 63 74 69 | 6f 6e 22 3e 0a 20 20 20 |"directi|on">. |
|00000e60| 20 20 20 20 20 3c 67 65 | 74 74 65 72 3e 0a 20 20 | <ge|tter>. |
|00000e70| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 74 | |return t|
|00000e80| 68 69 73 2e 67 65 74 41 | 74 74 72 69 62 75 74 65 |his.getA|ttribute|
|00000e90| 28 22 64 69 72 65 63 74 | 69 6f 6e 22 29 3b 0a 20 |("direct|ion");. |
|00000ea0| 20 20 20 20 20 20 20 3c | 2f 67 65 74 74 65 72 3e | <|/getter>|
|00000eb0| 0a 20 20 20 20 20 20 20 | 20 3c 73 65 74 74 65 72 |. | <setter|
|00000ec0| 3e 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |>. | this|
|00000ed0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 22 64 |.setAttr|ibute("d|
|00000ee0| 69 72 65 63 74 69 6f 6e | 22 2c 20 76 61 6c 29 3b |irection|", val);|
|00000ef0| 0a 20 20 20 20 20 20 20 | 20 3c 2f 73 65 74 74 65 |. | </sette|
|00000f00| 72 3e 0a 20 20 20 20 20 | 20 3c 2f 70 72 6f 70 65 |r>. | </prope|
|00000f10| 72 74 79 3e 0a 0a 20 20 | 20 20 20 20 3c 66 69 65 |rty>.. | <fie|
|00000f20| 6c 64 20 6e 61 6d 65 3d | 22 5f 64 69 72 65 63 74 |ld name=|"_direct|
|00000f30| 69 6f 6e 22 3e 22 6c 65 | 66 74 22 3c 2f 66 69 65 |ion">"le|ft"</fie|
|00000f40| 6c 64 3e 0a 0a 20 20 20 | 20 20 20 3c 70 72 6f 70 |ld>.. | <prop|
|00000f50| 65 72 74 79 20 6e 61 6d | 65 3d 22 62 65 68 61 76 |erty nam|e="behav|
|00000f60| 69 6f 72 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 67 |ior">. | <g|
|00000f70| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 20 20 20 |etter>. | |
|00000f80| 20 72 65 74 75 72 6e 20 | 74 68 69 73 2e 5f 62 65 | return |this._be|
|00000f90| 68 61 76 69 6f 72 3b 0a | 20 20 20 20 20 20 20 20 |havior;.| |
|00000fa0| 3c 2f 67 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</getter|>. |
|00000fb0| 20 20 3c 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <sette|r>. |
|00000fc0| 20 20 20 20 20 74 68 69 | 73 2e 73 65 74 41 74 74 | thi|s.setAtt|
|00000fd0| 72 69 62 75 74 65 28 22 | 62 65 68 61 76 69 6f 72 |ribute("|behavior|
|00000fe0| 22 2c 20 76 61 6c 29 3b | 0a 20 20 20 20 20 20 20 |", val);|. |
|00000ff0| 20 3c 2f 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | </sette|r>. |
|00001000| 20 3c 2f 70 72 6f 70 65 | 72 74 79 3e 0a 0a 20 20 | </prope|rty>.. |
|00001010| 20 20 20 20 3c 66 69 65 | 6c 64 20 6e 61 6d 65 3d | <fie|ld name=|
|00001020| 22 5f 62 65 68 61 76 69 | 6f 72 22 3e 22 73 63 72 |"_behavi|or">"scr|
|00001030| 6f 6c 6c 22 3c 2f 66 69 | 65 6c 64 3e 0a 0a 20 20 |oll"</fi|eld>.. |
|00001040| 20 20 20 20 3c 70 72 6f | 70 65 72 74 79 20 6e 61 | <pro|perty na|
|00001050| 6d 65 3d 22 6c 6f 6f 70 | 22 3e 0a 20 20 20 20 20 |me="loop|">. |
|00001060| 20 20 20 3c 67 65 74 74 | 65 72 3e 0a 20 20 20 20 | <gett|er>. |
|00001070| 20 20 20 20 20 20 3c 21 | 5b 43 44 41 54 41 5b 0a | <!|[CDATA[.|
|00001080| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 76 61 | | var va|
|00001090| 6c 20 3d 20 70 61 72 73 | 65 49 6e 74 28 74 68 69 |l = pars|eInt(thi|
|000010a0| 73 2e 67 65 74 41 74 74 | 72 69 62 75 74 65 28 27 |s.getAtt|ribute('|
|000010b0| 6c 6f 6f 70 27 29 29 3b | 0a 20 20 20 20 0a 20 20 |loop'));|. . |
|000010c0| 20 20 20 20 20 20 20 20 | 69 66 20 28 76 61 6c 20 | |if (val |
|000010d0| 3c 20 2d 31 20 7c 7c 20 | 69 73 4e 61 4e 28 76 61 |< -1 || |isNaN(va|
|000010e0| 6c 29 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |l)). | |
|000010f0| 72 65 74 75 72 6e 20 74 | 68 69 73 2e 5f 6c 6f 6f |return t|his._loo|
|00001100| 70 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 72 65 |p;.. | re|
|00001110| 74 75 72 6e 20 76 61 6c | 3b 0a 20 20 20 20 20 20 |turn val|;. |
|00001120| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|00001130| 3c 2f 67 65 74 74 65 72 | 3e 0a 20 20 20 20 20 20 |</getter|>. |
|00001140| 20 20 3c 73 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <sette|r>. |
|00001150| 20 20 20 20 20 74 68 69 | 73 2e 73 65 74 41 74 74 | thi|s.setAtt|
|00001160| 72 69 62 75 74 65 28 22 | 6c 6f 6f 70 22 2c 20 76 |ribute("|loop", v|
|00001170| 61 6c 29 3b 0a 20 20 20 | 20 20 20 20 20 3c 2f 73 |al);. | </s|
|00001180| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 3c 2f 70 |etter>. | </p|
|00001190| 72 6f 70 65 72 74 79 3e | 0a 0a 20 20 20 20 20 20 |roperty>|.. |
|000011a0| 3c 66 69 65 6c 64 20 6e | 61 6d 65 3d 22 5f 6c 6f |<field n|ame="_lo|
|000011b0| 6f 70 22 3e 2d 31 3c 2f | 66 69 65 6c 64 3e 0a 0a |op">-1</|field>..|
|000011c0| 20 20 20 20 20 20 3c 70 | 72 6f 70 65 72 74 79 20 | <p|roperty |
|000011d0| 6e 61 6d 65 3d 22 6f 6e | 73 74 61 72 74 22 3e 0a |name="on|start">.|
|000011e0| 20 20 20 20 20 20 20 20 | 3c 67 65 74 74 65 72 3e | |<getter>|
|000011f0| 0a 20 20 20 20 20 20 20 | 20 20 20 72 65 74 75 72 |. | retur|
|00001200| 6e 20 74 68 69 73 2e 67 | 65 74 41 74 74 72 69 62 |n this.g|etAttrib|
|00001210| 75 74 65 28 22 6f 6e 73 | 74 61 72 74 22 29 3b 0a |ute("ons|tart");.|
|00001220| 20 20 20 20 20 20 20 20 | 3c 2f 67 65 74 74 65 72 | |</getter|
|00001230| 3e 0a 20 20 20 20 20 20 | 20 20 3c 73 65 74 74 65 |>. | <sette|
|00001240| 72 3e 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |r>. | thi|
|00001250| 73 2e 5f 73 65 74 45 76 | 65 6e 74 4c 69 73 74 65 |s._setEv|entListe|
|00001260| 6e 65 72 28 22 73 74 61 | 72 74 22 2c 20 76 61 6c |ner("sta|rt", val|
|00001270| 2c 20 74 72 75 65 29 3b | 0a 20 20 20 20 20 20 20 |, true);|. |
|00001280| 20 20 20 74 68 69 73 2e | 73 65 74 41 74 74 72 69 | this.|setAttri|
|00001290| 62 75 74 65 28 22 6f 6e | 73 74 61 72 74 22 2c 20 |bute("on|start", |
|000012a0| 76 61 6c 29 3b 0a 20 20 | 20 20 20 20 20 20 3c 2f |val);. | </|
|000012b0| 73 65 74 74 65 72 3e 0a | 20 20 20 20 20 20 3c 2f |setter>.| </|
|000012c0| 70 72 6f 70 65 72 74 79 | 3e 0a 0a 20 20 20 20 20 |property|>.. |
|000012d0| 20 3c 66 69 65 6c 64 20 | 6e 61 6d 65 3d 22 5f 6f | <field |name="_o|
|000012e0| 6e 73 74 61 72 74 22 3e | 3c 2f 66 69 65 6c 64 3e |nstart">|</field>|
|000012f0| 0a 0a 20 20 20 20 20 20 | 3c 70 72 6f 70 65 72 74 |.. |<propert|
|00001300| 79 20 6e 61 6d 65 3d 22 | 6f 6e 66 69 6e 69 73 68 |y name="|onfinish|
|00001310| 22 3e 0a 20 20 20 20 20 | 20 20 20 3c 67 65 74 74 |">. | <gett|
|00001320| 65 72 3e 0a 20 20 20 20 | 20 20 20 20 20 20 72 65 |er>. | re|
|00001330| 74 75 72 6e 20 74 68 69 | 73 2e 67 65 74 41 74 74 |turn thi|s.getAtt|
|00001340| 72 69 62 75 74 65 28 22 | 6f 6e 66 69 6e 69 73 68 |ribute("|onfinish|
|00001350| 22 29 3b 0a 20 20 20 20 | 20 20 20 20 3c 2f 67 65 |");. | </ge|
|00001360| 74 74 65 72 3e 0a 20 20 | 20 20 20 20 20 20 3c 73 |tter>. | <s|
|00001370| 65 74 74 65 72 3e 0a 20 | 20 20 20 20 20 20 20 20 |etter>. | |
|00001380| 20 74 68 69 73 2e 5f 73 | 65 74 45 76 65 6e 74 4c | this._s|etEventL|
|00001390| 69 73 74 65 6e 65 72 28 | 22 66 69 6e 69 73 68 22 |istener(|"finish"|
|000013a0| 2c 20 76 61 6c 2c 20 74 | 72 75 65 29 3b 0a 20 20 |, val, t|rue);. |
|000013b0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 73 65 74 | |this.set|
|000013c0| 41 74 74 72 69 62 75 74 | 65 28 22 6f 6e 66 69 6e |Attribut|e("onfin|
|000013d0| 69 73 68 22 2c 20 76 61 | 6c 29 3b 0a 20 20 20 20 |ish", va|l);. |
|000013e0| 20 20 20 20 3c 2f 73 65 | 74 74 65 72 3e 0a 20 20 | </se|tter>. |
|000013f0| 20 20 20 20 3c 2f 70 72 | 6f 70 65 72 74 79 3e 0a | </pr|operty>.|
|00001400| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|00001410| 6d 65 3d 22 5f 6f 6e 66 | 69 6e 69 73 68 22 3e 3c |me="_onf|inish"><|
|00001420| 2f 66 69 65 6c 64 3e 0a | 0a 20 20 20 20 20 20 3c |/field>.|. <|
|00001430| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 6f |property| name="o|
|00001440| 6e 62 6f 75 6e 63 65 22 | 3e 0a 20 20 20 20 20 20 |nbounce"|>. |
|00001450| 20 20 3c 67 65 74 74 65 | 72 3e 0a 20 20 20 20 20 | <gette|r>. |
|00001460| 20 20 20 20 20 72 65 74 | 75 72 6e 20 74 68 69 73 | ret|urn this|
|00001470| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 22 6f |.getAttr|ibute("o|
|00001480| 6e 62 6f 75 6e 63 65 22 | 29 3b 0a 20 20 20 20 20 |nbounce"|);. |
|00001490| 20 20 20 3c 2f 67 65 74 | 74 65 72 3e 0a 20 20 20 | </get|ter>. |
|000014a0| 20 20 20 20 20 3c 73 65 | 74 74 65 72 3e 0a 20 20 | <se|tter>. |
|000014b0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 73 65 | |this._se|
|000014c0| 74 45 76 65 6e 74 4c 69 | 73 74 65 6e 65 72 28 22 |tEventLi|stener("|
|000014d0| 62 6f 75 6e 63 65 22 2c | 20 76 61 6c 2c 20 74 72 |bounce",| val, tr|
|000014e0| 75 65 29 3b 0a 20 20 20 | 20 20 20 20 20 20 20 74 |ue);. | t|
|000014f0| 68 69 73 2e 73 65 74 41 | 74 74 72 69 62 75 74 65 |his.setA|ttribute|
|00001500| 28 22 6f 6e 62 6f 75 6e | 63 65 22 2c 20 76 61 6c |("onboun|ce", val|
|00001510| 29 3b 0a 20 20 20 20 20 | 20 20 20 3c 2f 73 65 74 |);. | </set|
|00001520| 74 65 72 3e 0a 20 20 20 | 20 20 20 3c 2f 70 72 6f |ter>. | </pro|
|00001530| 70 65 72 74 79 3e 0a 0a | 20 20 20 20 20 20 3c 66 |perty>..| <f|
|00001540| 69 65 6c 64 20 6e 61 6d | 65 3d 22 5f 6f 6e 62 6f |ield nam|e="_onbo|
|00001550| 75 6e 63 65 22 3e 3c 2f | 66 69 65 6c 64 3e 0a 0a |unce"></|field>..|
|00001560| 20 20 20 20 20 20 3c 66 | 69 65 6c 64 20 6e 61 6d | <f|ield nam|
|00001570| 65 3d 22 64 69 72 73 69 | 67 6e 22 3e 31 3c 2f 66 |e="dirsi|gn">1</f|
|00001580| 69 65 6c 64 3e 0a 20 20 | 20 20 20 20 3c 66 69 65 |ield>. | <fie|
|00001590| 6c 64 20 6e 61 6d 65 3d | 22 73 74 61 72 74 41 74 |ld name=|"startAt|
|000015a0| 22 3e 30 3c 2f 66 69 65 | 6c 64 3e 0a 20 20 20 20 |">0</fie|ld>. |
|000015b0| 20 20 3c 66 69 65 6c 64 | 20 6e 61 6d 65 3d 22 73 | <field| name="s|
|000015c0| 74 6f 70 41 74 22 3e 30 | 3c 2f 66 69 65 6c 64 3e |topAt">0|</field>|
|000015d0| 0a 20 20 20 20 20 20 3c | 66 69 65 6c 64 20 6e 61 |. <|field na|
|000015e0| 6d 65 3d 22 6e 65 77 50 | 6f 73 69 74 69 6f 6e 22 |me="newP|osition"|
|000015f0| 3e 30 3c 2f 66 69 65 6c | 64 3e 0a 20 20 20 20 20 |>0</fiel|d>. |
|00001600| 20 3c 66 69 65 6c 64 20 | 6e 61 6d 65 3d 22 72 75 | <field |name="ru|
|00001610| 6e 49 64 22 3e 30 3c 2f | 66 69 65 6c 64 3e 0a 0a |nId">0</|field>..|
|00001620| 20 20 20 20 20 20 3c 66 | 69 65 6c 64 20 6e 61 6d | <f|ield nam|
|00001630| 65 3d 22 6f 72 69 67 69 | 6e 61 6c 48 65 69 67 68 |e="origi|nalHeigh|
|00001640| 74 22 3e 30 3c 2f 66 69 | 65 6c 64 3e 0a 20 20 20 |t">0</fi|eld>. |
|00001650| 20 20 20 3c 66 69 65 6c | 64 20 6e 61 6d 65 3d 22 | <fiel|d name="|
|00001660| 73 74 61 72 74 4e 65 77 | 44 69 72 65 63 74 69 6f |startNew|Directio|
|00001670| 6e 22 3e 74 72 75 65 3c | 2f 66 69 65 6c 64 3e 0a |n">true<|/field>.|
|00001680| 0a 20 20 20 20 20 20 3c | 70 72 6f 70 65 72 74 79 |. <|property|
|00001690| 20 6e 61 6d 65 3d 22 6f | 75 74 65 72 44 69 76 22 | name="o|uterDiv"|
|000016a0| 0a 20 20 20 20 20 20 20 | 20 6f 6e 67 65 74 3d 22 |. | onget="|
|000016b0| 72 65 74 75 72 6e 20 64 | 6f 63 75 6d 65 6e 74 2e |return d|ocument.|
|000016c0| 67 65 74 41 6e 6f 6e 79 | 6d 6f 75 73 4e 6f 64 65 |getAnony|mousNode|
|000016d0| 73 28 74 68 69 73 29 5b | 30 5d 22 0a 20 20 20 20 |s(this)[|0]". |
|000016e0| 20 20 2f 3e 0a 0a 20 20 | 20 20 20 20 3c 70 72 6f | />.. | <pro|
|000016f0| 70 65 72 74 79 20 6e 61 | 6d 65 3d 22 69 6e 6e 65 |perty na|me="inne|
|00001700| 72 44 69 76 22 0a 20 20 | 20 20 20 20 20 20 6f 6e |rDiv". | on|
|00001710| 67 65 74 3d 22 72 65 74 | 75 72 6e 20 64 6f 63 75 |get="ret|urn docu|
|00001720| 6d 65 6e 74 2e 67 65 74 | 41 6e 6f 6e 79 6d 6f 75 |ment.get|Anonymou|
|00001730| 73 45 6c 65 6d 65 6e 74 | 42 79 41 74 74 72 69 62 |sElement|ByAttrib|
|00001740| 75 74 65 28 74 68 69 73 | 2c 20 27 63 6c 61 73 73 |ute(this|, 'class|
|00001750| 27 2c 20 27 69 6e 6e 65 | 72 44 69 76 27 29 3b 22 |', 'inne|rDiv');"|
|00001760| 0a 20 20 20 20 20 20 2f | 3e 0a 0a 20 20 20 20 20 |. /|>.. |
|00001770| 20 3c 70 72 6f 70 65 72 | 74 79 20 6e 61 6d 65 3d | <proper|ty name=|
|00001780| 22 68 65 69 67 68 74 22 | 0a 20 20 20 20 20 20 20 |"height"|. |
|00001790| 20 6f 6e 67 65 74 3d 22 | 72 65 74 75 72 6e 20 74 | onget="|return t|
|000017a0| 68 69 73 2e 67 65 74 41 | 74 74 72 69 62 75 74 65 |his.getA|ttribute|
|000017b0| 28 27 68 65 69 67 68 74 | 27 29 3b 22 0a 20 20 20 |('height|');". |
|000017c0| 20 20 20 20 20 6f 6e 73 | 65 74 3d 22 74 68 69 73 | ons|et="this|
|000017d0| 2e 73 65 74 41 74 74 72 | 69 62 75 74 65 28 27 68 |.setAttr|ibute('h|
|000017e0| 65 69 67 68 74 27 2c 20 | 76 61 6c 29 3b 22 0a 20 |eight', |val);". |
|000017f0| 20 20 20 20 20 2f 3e 0a | 0a 20 20 20 20 20 20 3c | />.|. <|
|00001800| 70 72 6f 70 65 72 74 79 | 20 6e 61 6d 65 3d 22 77 |property| name="w|
|00001810| 69 64 74 68 22 0a 20 20 | 20 20 20 20 20 20 6f 6e |idth". | on|
|00001820| 67 65 74 3d 22 72 65 74 | 75 72 6e 20 74 68 69 73 |get="ret|urn this|
|00001830| 2e 67 65 74 41 74 74 72 | 69 62 75 74 65 28 27 77 |.getAttr|ibute('w|
|00001840| 69 64 74 68 27 29 3b 22 | 0a 20 20 20 20 20 20 20 |idth');"|. |
|00001850| 20 6f 6e 73 65 74 3d 22 | 74 68 69 73 2e 73 65 74 | onset="|this.set|
|00001860| 41 74 74 72 69 62 75 74 | 65 28 27 77 69 64 74 68 |Attribut|e('width|
|00001870| 27 2c 20 76 61 6c 29 3b | 22 0a 20 20 20 20 20 20 |', val);|". |
|00001880| 2f 3e 0a 0a 20 20 20 20 | 20 20 3c 21 2d 2d 20 46 |/>.. | <!-- F|
|00001890| 6f 72 20 73 6e 69 66 66 | 69 6e 67 20 70 75 72 70 |or sniff|ing purp|
|000018a0| 6f 73 65 73 20 2d 2d 3e | 0a 20 20 20 20 20 20 3c |oses -->|. <|
|000018b0| 66 69 65 6c 64 20 6e 61 | 6d 65 3d 22 6e 73 4d 61 |field na|me="nsMa|
|000018c0| 72 71 75 65 65 56 65 72 | 73 69 6f 6e 22 3e 22 30 |rqueeVer|sion">"0|
|000018d0| 2e 39 2e 37 22 3c 2f 66 | 69 65 6c 64 3e 0a 0a 20 |.9.7"</f|ield>.. |
|000018e0| 20 20 20 20 20 3c 6d 65 | 74 68 6f 64 20 6e 61 6d | <me|thod nam|
|000018f0| 65 3d 22 5f 73 65 74 5f | 73 63 72 6f 6c 6c 44 65 |e="_set_|scrollDe|
|00001900| 6c 61 79 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 70 |lay">. | <p|
|00001910| 61 72 61 6d 65 74 65 72 | 20 6e 61 6d 65 3d 22 61 |arameter| name="a|
|00001920| 56 61 6c 75 65 22 2f 3e | 0a 20 20 20 20 20 20 20 |Value"/>|. |
|00001930| 20 3c 62 6f 64 79 3e 0a | 20 20 20 20 20 20 20 20 | <body>.| |
|00001940| 3c 21 5b 43 44 41 54 41 | 5b 0a 20 20 20 20 20 20 |<![CDATA|[. |
|00001950| 20 20 20 20 69 66 20 28 | 61 56 61 6c 75 65 20 3c | if (|aValue <|
|00001960| 3d 20 30 20 7c 7c 20 69 | 73 4e 61 4e 28 61 56 61 |= 0 || i|sNaN(aVa|
|00001970| 6c 75 65 29 20 7c 7c 20 | 61 56 61 6c 75 65 20 3d |lue) || |aValue =|
|00001980| 3d 20 6e 75 6c 6c 29 0a | 20 20 20 20 20 20 20 20 |= null).| |
|00001990| 20 20 20 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 | retu|rn false|
|000019a0| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |;.. | if |
|000019b0| 28 61 56 61 6c 75 65 20 | 3c 20 36 30 29 20 7b 0a |(aValue |< 60) {.|
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|000019d0| 74 68 69 73 2e 74 72 75 | 65 53 70 65 65 64 20 3d |this.tru|eSpeed =|
|000019e0| 3d 20 74 72 75 65 29 0a | 20 20 20 20 20 20 20 20 |= true).| |
|000019f0| 20 20 20 20 20 20 74 68 | 69 73 2e 5f 73 63 72 6f | th|is._scro|
|00001a00| 6c 6c 44 65 6c 61 79 20 | 3d 20 61 56 61 6c 75 65 |llDelay |= aValue|
|00001a10| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6c |;. | el|
|00001a20| 73 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |se. | |
|00001a30| 20 74 68 69 73 2e 5f 73 | 63 72 6f 6c 6c 44 65 6c | this._s|crollDel|
|00001a40| 61 79 20 3d 20 36 30 3b | 0a 20 20 20 20 20 20 20 |ay = 60;|. |
|00001a50| 20 20 20 7d 0a 20 20 20 | 20 20 20 20 20 20 20 65 | }. | e|
|00001a60| 6c 73 65 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |lse {. | |
|00001a70| 20 20 74 68 69 73 2e 5f | 73 63 72 6f 6c 6c 44 65 | this._|scrollDe|
|00001a80| 6c 61 79 20 3d 20 61 56 | 61 6c 75 65 3b 0a 20 20 |lay = aV|alue;. |
|00001a90| 20 20 20 20 20 20 20 20 | 7d 0a 20 20 20 20 20 20 | |}. |
|00001aa0| 20 20 20 20 72 65 74 75 | 72 6e 20 74 72 75 65 3b | retu|rn true;|
|00001ab0| 0a 20 20 20 20 20 20 20 | 20 5d 5d 3e 0a 20 20 20 |. | ]]>. |
|00001ac0| 20 20 20 20 20 3c 2f 62 | 6f 64 79 3e 0a 20 20 20 | </b|ody>. |
|00001ad0| 20 20 20 3c 2f 6d 65 74 | 68 6f 64 3e 0a 0a 20 20 | </met|hod>.. |
|00001ae0| 20 20 20 20 3c 6d 65 74 | 68 6f 64 20 6e 61 6d 65 | <met|hod name|
|00001af0| 3d 22 5f 73 65 74 5f 73 | 63 72 6f 6c 6c 41 6d 6f |="_set_s|crollAmo|
|00001b00| 75 6e 74 22 3e 0a 20 20 | 20 20 20 20 20 20 3c 70 |unt">. | <p|
|00001b10| 61 72 61 6d 65 74 65 72 | 20 6e 61 6d 65 3d 22 61 |arameter| name="a|
|00001b20| 56 61 6c 75 65 22 2f 3e | 0a 20 20 20 20 20 20 20 |Value"/>|. |
|00001b30| 20 3c 62 6f 64 79 3e 0a | 20 20 20 20 20 20 20 20 | <body>.| |
|00001b40| 3c 21 5b 43 44 41 54 41 | 5b 0a 20 20 20 20 20 20 |<![CDATA|[. |
|00001b50| 20 20 20 20 69 66 20 28 | 61 56 61 6c 75 65 20 3c | if (|aValue <|
|00001b60| 20 30 20 7c 7c 20 69 73 | 4e 61 4e 28 61 56 61 6c | 0 || is|NaN(aVal|
|00001b70| 75 65 29 20 7c 7c 20 61 | 56 61 6c 75 65 20 3d 3d |ue) || a|Value ==|
|00001b80| 20 6e 75 6c 6c 29 0a 20 | 20 20 20 20 20 20 20 20 | null). | |
|00001b90| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;|
|00001ba0| 0a 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |.. | this|
|00001bb0| 2e 5f 73 63 72 6f 6c 6c | 41 6d 6f 75 6e 74 20 3d |._scroll|Amount =|
|00001bc0| 20 61 56 61 6c 75 65 3b | 0a 20 20 20 20 20 20 20 | aValue;|. |
|00001bd0| 20 20 20 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0a | retur|n true;.|
|00001be0| 20 20 20 20 20 20 20 20 | 5d 5d 3e 0a 20 20 20 20 | |]]>. |
|00001bf0| 20 20 20 20 3c 2f 62 6f | 64 79 3e 0a 20 20 20 20 | </bo|dy>. |
|00001c00| 20 20 3c 2f 6d 65 74 68 | 6f 64 3e 0a 0a 20 20 20 | </meth|od>.. |
|00001c10| 20 20 20 3c 6d 65 74 68 | 6f 64 20 6e 61 6d 65 3d | <meth|od name=|
|00001c20| 22 5f 73 65 74 5f 62 65 | 68 61 76 69 6f 72 22 3e |"_set_be|havior">|
|00001c30| 0a 20 20 20 20 20 20 20 | 20 3c 70 61 72 61 6d 65 |. | <parame|
|00001c40| 74 65 72 20 6e 61 6d 65 | 3d 22 61 56 61 6c 75 65 |ter name|="aValue|
|00001c50| 22 2f 3e 0a 20 20 20 20 | 20 20 20 20 3c 62 6f 64 |"/>. | <bod|
|00001c60| 79 3e 0a 20 20 20 20 20 | 20 20 20 3c 21 5b 43 44 |y>. | <![CD|
|00001c70| 41 54 41 5b 0a 20 20 20 | 20 20 20 20 20 20 20 69 |ATA[. | i|
|00001c80| 66 20 28 74 79 70 65 6f | 66 20 61 56 61 6c 75 65 |f (typeo|f aValue|
|00001c90| 20 3d 3d 20 27 73 74 72 | 69 6e 67 27 29 0a 20 20 | == 'str|ing'). |
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 61 56 61 6c 75 65 | | aValue|
|00001cb0| 20 3d 20 61 56 61 6c 75 | 65 2e 74 6f 4c 6f 77 65 | = aValu|e.toLowe|
|00001cc0| 72 43 61 73 65 28 29 3b | 0a 20 20 20 20 20 20 20 |rCase();|. |
|00001cd0| 20 20 20 69 66 20 28 61 | 56 61 6c 75 65 20 21 3d | if (a|Value !=|
|00001ce0| 20 27 61 6c 74 65 72 6e | 61 74 65 27 20 26 26 20 | 'altern|ate' && |
|00001cf0| 61 56 61 6c 75 65 20 21 | 3d 20 27 73 6c 69 64 65 |aValue !|= 'slide|
|00001d00| 27 20 26 26 20 61 56 61 | 6c 75 65 20 21 3d 20 27 |' && aVa|lue != '|
|00001d10| 73 63 72 6f 6c 6c 27 29 | 0a 20 20 20 20 20 20 20 |scroll')|. |
|00001d20| 20 20 20 20 20 72 65 74 | 75 72 6e 20 66 61 6c 73 | ret|urn fals|
|00001d30| 65 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 |e;.. | th|
|00001d40| 69 73 2e 5f 62 65 68 61 | 76 69 6f 72 20 3d 20 61 |is._beha|vior = a|
|00001d50| 56 61 6c 75 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |Value;. | |
|00001d60| 20 72 65 74 75 72 6e 20 | 74 72 75 65 3b 0a 20 20 | return |true;. |
|00001d70| 20 20 20 20 20 20 5d 5d | 3e 0a 20 20 20 20 20 20 | ]]|>. |
|00001d80| 20 20 3c 2f 62 6f 64 79 | 3e 0a 20 20 20 20 20 20 | </body|>. |
|00001d90| 3c 2f 6d 65 74 68 6f 64 | 3e 0a 0a 20 20 20 20 20 |</method|>.. |
|00001da0| 20 3c 6d 65 74 68 6f 64 | 20 6e 61 6d 65 3d 22 5f | <method| name="_|
|00001db0| 73 65 74 5f 64 69 72 65 | 63 74 69 6f 6e 22 3e 0a |set_dire|ction">.|
|00001dc0| 20 20 20 20 20 20 20 20 | 3c 70 61 72 61 6d 65 74 | |<paramet|
|00001dd0| 65 72 20 6e 61 6d 65 3d | 22 61 56 61 6c 75 65 22 |er name=|"aValue"|
|00001de0| 2f 3e 0a 20 20 20 20 20 | 20 20 20 3c 62 6f 64 79 |/>. | <body|
|00001df0| 3e 0a 20 20 20 20 20 20 | 20 20 3c 21 5b 43 44 41 |>. | <![CDA|
|00001e00| 54 41 5b 0a 20 20 20 20 | 20 20 20 20 20 20 69 66 |TA[. | if|
|00001e10| 20 28 74 79 70 65 6f 66 | 20 61 56 61 6c 75 65 20 | (typeof| aValue |
|00001e20| 3d 3d 20 27 73 74 72 69 | 6e 67 27 29 0a 20 20 20 |== 'stri|ng'). |
|00001e30| 20 20 20 20 20 20 20 20 | 20 61 56 61 6c 75 65 20 | | aValue |
|00001e40| 3d 20 61 56 61 6c 75 65 | 2e 74 6f 4c 6f 77 65 72 |= aValue|.toLower|
|00001e50| 43 61 73 65 28 29 3b 0a | 20 20 20 20 20 20 20 20 |Case();.| |
|00001e60| 20 20 69 66 20 28 61 56 | 61 6c 75 65 20 21 3d 20 | if (aV|alue != |
|00001e70| 27 6c 65 66 74 27 20 26 | 26 20 61 56 61 6c 75 65 |'left' &|& aValue|
|00001e80| 20 21 3d 20 27 72 69 67 | 68 74 27 20 26 26 20 61 | != 'rig|ht' && a|
|00001e90| 56 61 6c 75 65 20 21 3d | 20 27 75 70 27 20 26 26 |Value !=| 'up' &&|
|00001ea0| 20 61 56 61 6c 75 65 20 | 21 3d 20 27 64 6f 77 6e | aValue |!= 'down|
|00001eb0| 27 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 72 |'). | r|
|00001ec0| 65 74 75 72 6e 20 66 61 | 6c 73 65 3b 0a 0a 20 20 |eturn fa|lse;.. |
|00001ed0| 20 20 20 20 20 20 20 20 | 69 66 20 28 61 56 61 6c | |if (aVal|
|00001ee0| 75 65 20 21 3d 20 74 68 | 69 73 2e 5f 64 69 72 65 |ue != th|is._dire|
|00001ef0| 63 74 69 6f 6e 29 0a 20 | 20 20 20 20 20 20 20 20 |ction). | |
|00001f00| 20 20 20 74 68 69 73 2e | 73 74 61 72 74 4e 65 77 | this.|startNew|
|00001f10| 44 69 72 65 63 74 69 6f | 6e 20 3d 20 74 72 75 65 |Directio|n = true|
|00001f20| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |;. | this|
|00001f30| 2e 5f 64 69 72 65 63 74 | 69 6f 6e 20 3d 20 61 56 |._direct|ion = aV|
|00001f40| 61 6c 75 65 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |alue;. | |
|00001f50| 72 65 74 75 72 6e 20 74 | 72 75 65 3b 0a 20 20 20 |return t|rue;. |
|00001f60| 20 20 20 20 20 5d 5d 3e | 0a 20 20 20 20 20 20 20 | ]]>|. |
|00001f70| 20 3c 2f 62 6f 64 79 3e | 0a 20 20 20 20 20 20 3c | </body>|. <|
|00001f80| 2f 6d 65 74 68 6f 64 3e | 0a 0a 20 20 20 20 20 20 |/method>|.. |
|00001f90| 3c 6d 65 74 68 6f 64 20 | 6e 61 6d 65 3d 22 5f 73 |<method |name="_s|
|00001fa0| 65 74 5f 6c 6f 6f 70 22 | 3e 0a 20 20 20 20 20 20 |et_loop"|>. |
|00001fb0| 20 20 3c 70 61 72 61 6d | 65 74 65 72 20 6e 61 6d | <param|eter nam|
|00001fc0| 65 3d 22 61 56 61 6c 75 | 65 22 2f 3e 0a 20 20 20 |e="aValu|e"/>. |
|00001fd0| 20 20 20 20 20 3c 62 6f | 64 79 3e 0a 20 20 20 20 | <bo|dy>. |
|00001fe0| 20 20 20 20 20 20 3c 21 | 5b 43 44 41 54 41 5b 0a | <!|[CDATA[.|
|00001ff0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 21 61 | | if (!a|
|00002000| 56 61 6c 75 65 20 7c 7c | 20 69 73 4e 61 4e 28 61 |Value ||| isNaN(a|
|00002010| 56 61 6c 75 65 29 29 0a | 20 20 20 20 20 20 20 20 |Value)).| |
|00002020| 20 20 20 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 | retu|rn false|
|00002030| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |;.. | if |
|00002040| 28 61 56 61 6c 75 65 20 | 3c 20 2d 31 29 0a 20 20 |(aValue |< -1). |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 61 56 61 6c 75 65 | | aValue|
|00002060| 20 3d 20 2d 31 3b 0a 0a | 20 20 20 20 20 20 20 20 | = -1;..| |
|00002070| 20 20 74 68 69 73 2e 5f | 6c 6f 6f 70 20 3d 20 61 | this._|loop = a|
|00002080| 56 61 6c 75 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |Value;. | |
|00002090| 20 72 65 74 75 72 6e 20 | 74 72 75 65 3b 0a 20 20 | return |true;. |
|000020a0| 20 20 20 20 20 20 20 20 | 5d 5d 3e 0a 20 20 20 20 | |]]>. |
|000020b0| 20 20 20 20 3c 2f 62 6f | 64 79 3e 0a 20 20 20 20 | </bo|dy>. |
|000020c0| 20 20 3c 2f 6d 65 74 68 | 6f 64 3e 0a 0a 20 20 20 | </meth|od>.. |
|000020d0| 20 20 20 3c 6d 65 74 68 | 6f 64 20 6e 61 6d 65 3d | <meth|od name=|
|000020e0| 22 5f 73 65 74 45 76 65 | 6e 74 4c 69 73 74 65 6e |"_setEve|ntListen|
|000020f0| 65 72 22 3e 0a 20 20 20 | 20 20 20 20 20 3c 70 61 |er">. | <pa|
|00002100| 72 61 6d 65 74 65 72 20 | 6e 61 6d 65 3d 22 61 4e |rameter |name="aN|
|00002110| 61 6d 65 22 2f 3e 0a 20 | 20 20 20 20 20 20 20 3c |ame"/>. | <|
|00002120| 70 61 72 61 6d 65 74 65 | 72 20 6e 61 6d 65 3d 22 |paramete|r name="|
|00002130| 61 56 61 6c 75 65 22 2f | 3e 0a 20 20 20 20 20 20 |aValue"/|>. |
|00002140| 20 20 3c 70 61 72 61 6d | 65 74 65 72 20 6e 61 6d | <param|eter nam|
|00002150| 65 3d 22 61 49 67 6e 6f | 72 65 4e 65 78 74 43 61 |e="aIgno|reNextCa|
|00002160| 6c 6c 22 2f 3e 0a 20 20 | 20 20 20 20 20 20 3c 62 |ll"/>. | <b|
|00002170| 6f 64 79 3e 0a 20 20 20 | 20 20 20 20 20 20 20 3c |ody>. | <|
|00002180| 21 5b 43 44 41 54 41 5b | 0a 20 20 20 20 20 20 20 |![CDATA[|. |
|00002190| 20 20 20 69 66 20 28 74 | 68 69 73 2e 5f 69 67 6e | if (t|his._ign|
|000021a0| 6f 72 65 4e 65 78 74 43 | 61 6c 6c 29 0a 20 20 20 |oreNextC|all). |
|000021b0| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|000021c0| 74 68 69 73 2e 5f 69 67 | 6e 6f 72 65 4e 65 78 74 |this._ig|noreNext|
|000021d0| 43 61 6c 6c 20 3d 20 66 | 61 6c 73 65 3b 0a 0a 20 |Call = f|alse;.. |
|000021e0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 61 49 67 | | if (aIg|
|000021f0| 6e 6f 72 65 4e 65 78 74 | 43 61 6c 6c 29 0a 20 20 |noreNext|Call). |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 5f | | this._|
|00002210| 69 67 6e 6f 72 65 4e 65 | 78 74 43 61 6c 6c 20 3d |ignoreNe|xtCall =|
|00002220| 20 74 72 75 65 3b 0a 0a | 20 20 20 20 20 20 20 20 | true;..| |
|00002230| 20 20 69 66 20 28 74 79 | 70 65 6f 66 20 74 68 69 | if (ty|peof thi|
|00002240| 73 5b 22 5f 6f 6e 22 20 | 2b 20 61 4e 61 6d 65 5d |s["_on" |+ aName]|
|00002250| 20 3d 3d 20 27 66 75 6e | 63 74 69 6f 6e 27 29 0a | == 'fun|ction').|
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00002270| 2e 72 65 6d 6f 76 65 45 | 76 65 6e 74 4c 69 73 74 |.removeE|ventList|
|00002280| 65 6e 65 72 28 61 4e 61 | 6d 65 2c 20 74 68 69 73 |ener(aNa|me, this|
|00002290| 5b 22 5f 6f 6e 22 20 2b | 20 61 4e 61 6d 65 5d 2c |["_on" +| aName],|
|000022a0| 20 66 61 6c 73 65 29 3b | 0a 0a 20 20 20 20 20 20 | false);|.. |
|000022b0| 20 20 20 20 73 77 69 74 | 63 68 20 28 74 79 70 65 | swit|ch (type|
|000022c0| 6f 66 20 61 56 61 6c 75 | 65 29 0a 20 20 20 20 20 |of aValu|e). |
|000022d0| 20 20 20 20 20 7b 0a 20 | 20 20 20 20 20 20 20 20 | {. | |
|000022e0| 20 20 20 63 61 73 65 20 | 22 66 75 6e 63 74 69 6f | case |"functio|
|000022f0| 6e 22 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |n":. | |
|00002300| 20 20 74 68 69 73 5b 22 | 5f 6f 6e 22 20 2b 20 61 | this["|_on" + a|
|00002310| 4e 61 6d 65 5d 20 3d 20 | 61 56 61 6c 75 65 3b 0a |Name] = |aValue;.|
|00002320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00002330| 69 73 2e 61 64 64 45 76 | 65 6e 74 4c 69 73 74 65 |is.addEv|entListe|
|00002340| 6e 65 72 28 61 4e 61 6d | 65 2c 20 74 68 69 73 5b |ner(aNam|e, this[|
|00002350| 22 5f 6f 6e 22 20 2b 20 | 61 4e 61 6d 65 5d 2c 20 |"_on" + |aName], |
|00002360| 66 61 6c 73 65 29 3b 0a | 20 20 20 20 20 20 20 20 |false);.| |
|00002370| 20 20 20 20 62 72 65 61 | 6b 3b 0a 0a 20 20 20 20 | brea|k;.. |
|00002380| 20 20 20 20 20 20 20 20 | 63 61 73 65 20 22 73 74 | |case "st|
|00002390| 72 69 6e 67 22 3a 0a 20 | 20 20 20 20 20 20 20 20 |ring":. | |
|000023a0| 20 20 20 20 20 69 66 20 | 28 21 61 49 67 6e 6f 72 | if |(!aIgnor|
|000023b0| 65 4e 65 78 74 43 61 6c | 6c 29 20 7b 0a 20 20 20 |eNextCal|l) {. |
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 72 79 | | try|
|000023d0| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000023e0| 20 20 20 20 20 74 68 69 | 73 5b 22 5f 6f 6e 22 20 | thi|s["_on" |
|000023f0| 2b 20 61 4e 61 6d 65 5d | 20 3d 20 6e 65 77 20 46 |+ aName]| = new F|
|00002400| 75 6e 63 74 69 6f 6e 28 | 22 65 76 65 6e 74 22 2c |unction(|"event",|
|00002410| 20 61 56 61 6c 75 65 29 | 3b 0a 20 20 20 20 20 20 | aValue)|;. |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 | | }. |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 74 63 | | catc|
|00002440| 68 28 65 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |h(e) {. | |
|00002450| 20 20 20 20 20 20 20 20 | 20 72 65 74 75 72 6e 20 | | return |
|00002460| 66 61 6c 73 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |false;. | |
|00002470| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00002480| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 61 64 | | this.ad|
|00002490| 64 45 76 65 6e 74 4c 69 | 73 74 65 6e 65 72 28 61 |dEventLi|stener(a|
|000024a0| 4e 61 6d 65 2c 20 74 68 | 69 73 5b 22 5f 6f 6e 22 |Name, th|is["_on"|
|000024b0| 20 2b 20 61 4e 61 6d 65 | 5d 2c 20 66 61 6c 73 65 | + aName|], false|
|000024c0| 29 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |);. | |
|000024d0| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|000024e0| 20 65 6c 73 65 20 7b 0a | 20 20 20 20 20 20 20 20 | else {.| |
|000024f0| 20 20 20 20 20 20 20 20 | 74 68 69 73 5b 22 5f 6f | |this["_o|
|00002500| 6e 22 20 2b 20 61 4e 61 | 6d 65 5d 20 3d 20 61 56 |n" + aNa|me] = aV|
|00002510| 61 6c 75 65 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |alue;. | |
|00002520| 20 20 20 20 7d 0a 20 20 | 20 20 20 20 20 20 20 20 | }. | |
|00002530| 20 20 62 72 65 61 6b 3b | 0a 0a 20 20 20 20 20 20 | break;|.. |
|00002540| 20 20 20 20 20 20 63 61 | 73 65 20 22 6f 62 6a 65 | ca|se "obje|
|00002550| 63 74 22 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ct":. | |
|00002560| 20 20 20 74 68 69 73 5b | 22 5f 6f 6e 22 20 2b 20 | this[|"_on" + |
|00002570| 61 4e 61 6d 65 5d 20 3d | 20 61 56 61 6c 75 65 3b |aName] =| aValue;|
|00002580| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 62 72 65 |. | bre|
|00002590| 61 6b 3b 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ak;.. | |
|000025a0| 20 64 65 66 61 75 6c 74 | 3a 0a 20 20 20 20 20 20 | default|:. |
|000025b0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 69 67 | |this._ig|
|000025c0| 6e 6f 72 65 4e 65 78 74 | 43 61 6c 6c 20 3d 20 66 |noreNext|Call = f|
|000025d0| 61 6c 73 65 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |alse;. | |
|000025e0| 20 20 20 20 74 68 72 6f | 77 20 6e 65 77 20 45 72 | thro|w new Er|
|000025f0| 72 6f 72 28 22 49 6e 76 | 61 6c 69 64 20 61 72 67 |ror("Inv|alid arg|
|00002600| 75 6d 65 6e 74 20 66 6f | 72 20 4d 61 72 71 75 65 |ument fo|r Marque|
|00002610| 65 3a 3a 6f 6e 22 20 2b | 20 61 4e 61 6d 65 29 3b |e::on" +| aName);|
|00002620| 0a 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 |. | }. |
|00002630| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 20 74 72 | r|eturn tr|
|00002640| 75 65 3b 0a 20 20 20 20 | 20 20 20 20 20 20 5d 5d |ue;. | ]]|
|00002650| 3e 0a 20 20 20 20 20 20 | 20 20 3c 2f 62 6f 64 79 |>. | </body|
|00002660| 3e 0a 20 20 20 20 20 20 | 3c 2f 6d 65 74 68 6f 64 |>. |</method|
|00002670| 3e 0a 0a 20 20 20 20 20 | 20 3c 6d 65 74 68 6f 64 |>.. | <method|
|00002680| 20 6e 61 6d 65 3d 22 5f | 66 69 72 65 45 76 65 6e | name="_|fireEven|
|00002690| 74 22 3e 0a 20 20 20 20 | 20 20 20 20 3c 70 61 72 |t">. | <par|
|000026a0| 61 6d 65 74 65 72 20 6e | 61 6d 65 3d 22 61 4e 61 |ameter n|ame="aNa|
|000026b0| 6d 65 22 2f 3e 0a 20 20 | 20 20 20 20 20 20 3c 70 |me"/>. | <p|
|000026c0| 61 72 61 6d 65 74 65 72 | 20 6e 61 6d 65 3d 22 61 |arameter| name="a|
|000026d0| 42 75 62 62 6c 65 73 22 | 2f 3e 0a 20 20 20 20 20 |Bubbles"|/>. |
|000026e0| 20 20 20 3c 70 61 72 61 | 6d 65 74 65 72 20 6e 61 | <para|meter na|
|000026f0| 6d 65 3d 22 61 43 61 6e | 63 65 6c 61 62 6c 65 22 |me="aCan|celable"|
|00002700| 2f 3e 0a 20 20 20 20 20 | 20 20 20 3c 62 6f 64 79 |/>. | <body|
|00002710| 3e 0a 20 20 20 20 20 20 | 20 20 3c 21 5b 43 44 41 |>. | <![CDA|
|00002720| 54 41 5b 0a 20 20 20 20 | 20 20 20 20 20 20 76 61 |TA[. | va|
|00002730| 72 20 65 20 3d 20 64 6f | 63 75 6d 65 6e 74 2e 63 |r e = do|cument.c|
|00002740| 72 65 61 74 65 45 76 65 | 6e 74 28 22 45 76 65 6e |reateEve|nt("Even|
|00002750| 74 73 22 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |ts");. | |
|00002760| 65 2e 69 6e 69 74 45 76 | 65 6e 74 28 61 4e 61 6d |e.initEv|ent(aNam|
|00002770| 65 2c 20 61 42 75 62 62 | 6c 65 73 2c 20 61 43 61 |e, aBubb|les, aCa|
|00002780| 6e 63 65 6c 61 62 6c 65 | 29 3b 0a 20 20 20 20 20 |ncelable|);. |
|00002790| 20 20 20 20 20 74 68 69 | 73 2e 64 69 73 70 61 74 | thi|s.dispat|
|000027a0| 63 68 45 76 65 6e 74 28 | 65 29 3b 0a 20 20 20 20 |chEvent(|e);. |
|000027b0| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|000027c0| 3c 2f 62 6f 64 79 3e 0a | 20 20 20 20 20 20 3c 2f |</body>.| </|
|000027d0| 6d 65 74 68 6f 64 3e 0a | 0a 20 20 20 20 20 20 3c |method>.|. <|
|000027e0| 6d 65 74 68 6f 64 20 6e | 61 6d 65 3d 22 73 74 61 |method n|ame="sta|
|000027f0| 72 74 22 3e 0a 20 20 20 | 20 20 20 20 20 3c 62 6f |rt">. | <bo|
|00002800| 64 79 3e 0a 20 20 20 20 | 20 20 20 20 3c 21 5b 43 |dy>. | <![C|
|00002810| 44 41 54 41 5b 0a 20 20 | 20 20 20 20 20 20 20 20 |DATA[. | |
|00002820| 69 66 20 28 74 68 69 73 | 2e 72 75 6e 49 64 20 3d |if (this|.runId =|
|00002830| 3d 20 30 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |= 0) {. | |
|00002840| 20 20 20 76 61 72 20 6d | 79 54 68 69 73 20 3d 20 | var m|yThis = |
|00002850| 74 68 69 73 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |this;. | |
|00002860| 20 20 76 61 72 20 6c 61 | 6d 62 64 61 20 3d 20 66 | var la|mbda = f|
|00002870| 75 6e 63 74 69 6f 6e 20 | 6d 79 54 69 6d 65 4f 75 |unction |myTimeOu|
|00002880| 74 46 75 6e 63 74 69 6f | 6e 28 29 7b 6d 79 54 68 |tFunctio|n(){myTh|
|00002890| 69 73 2e 5f 64 6f 4d 6f | 76 65 28 66 61 6c 73 65 |is._doMo|ve(false|
|000028a0| 29 3b 7d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);}. | |
|000028b0| 74 68 69 73 2e 72 75 6e | 49 64 20 3d 20 77 69 6e |this.run|Id = win|
|000028c0| 64 6f 77 2e 73 65 74 54 | 69 6d 65 6f 75 74 28 6c |dow.setT|imeout(l|
|000028d0| 61 6d 62 64 61 2c 20 74 | 68 69 73 2e 5f 73 63 72 |ambda, t|his._scr|
|000028e0| 6f 6c 6c 44 65 6c 61 79 | 20 2d 20 74 68 69 73 2e |ollDelay| - this.|
|000028f0| 5f 64 65 6c 74 61 53 74 | 61 72 74 53 74 6f 70 29 |_deltaSt|artStop)|
|00002900| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 |;. | th|
|00002910| 69 73 2e 5f 64 65 6c 74 | 61 53 74 61 72 74 53 74 |is._delt|aStartSt|
|00002920| 6f 70 20 3d 20 30 3b 0a | 20 20 20 20 20 20 20 20 |op = 0;.| |
|00002930| 20 20 7d 0a 20 20 20 20 | 20 20 20 20 5d 5d 3e 0a | }. | ]]>.|
|00002940| 20 20 20 20 20 20 20 20 | 3c 2f 62 6f 64 79 3e 0a | |</body>.|
|00002950| 20 20 20 20 20 20 3c 2f | 6d 65 74 68 6f 64 3e 0a | </|method>.|
|00002960| 0a 20 20 20 20 20 20 3c | 6d 65 74 68 6f 64 20 6e |. <|method n|
|00002970| 61 6d 65 3d 22 73 74 6f | 70 22 3e 0a 20 20 20 20 |ame="sto|p">. |
|00002980| 20 20 20 20 3c 62 6f 64 | 79 3e 0a 20 20 20 20 20 | <bod|y>. |
|00002990| 20 20 20 3c 21 5b 43 44 | 41 54 41 5b 0a 20 20 20 | <![CD|ATA[. |
|000029a0| 20 20 20 20 20 20 20 69 | 66 20 28 74 68 69 73 2e | i|f (this.|
|000029b0| 72 75 6e 49 64 20 21 3d | 20 30 29 20 7b 0a 20 20 |runId !=| 0) {. |
|000029c0| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 5f | | this._|
|000029d0| 64 65 6c 74 61 53 74 61 | 72 74 53 74 6f 70 20 3d |deltaSta|rtStop =|
|000029e0| 20 44 61 74 65 2e 6e 6f | 77 28 29 2d 20 74 68 69 | Date.no|w()- thi|
|000029f0| 73 2e 5f 6c 61 73 74 4d | 6f 76 65 44 61 74 65 3b |s._lastM|oveDate;|
|00002a00| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 63 6c 65 |. | cle|
|00002a10| 61 72 54 69 6d 65 6f 75 | 74 28 74 68 69 73 2e 72 |arTimeou|t(this.r|
|00002a20| 75 6e 49 64 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |unId);. | |
|00002a30| 20 7d 0a 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 | }.. | th|
|00002a40| 69 73 2e 72 75 6e 49 64 | 20 3d 20 30 3b 0a 20 20 |is.runId| = 0;. |
|00002a50| 20 20 20 20 20 20 5d 5d | 3e 0a 20 20 20 20 20 20 | ]]|>. |
|00002a60| 20 20 3c 2f 62 6f 64 79 | 3e 0a 20 20 20 20 20 20 | </body|>. |
|00002a70| 3c 2f 6d 65 74 68 6f 64 | 3e 0a 0a 20 20 20 20 20 |</method|>.. |
|00002a80| 20 3c 6d 65 74 68 6f 64 | 20 6e 61 6d 65 3d 22 5f | <method| name="_|
|00002a90| 64 6f 4d 6f 76 65 22 3e | 0a 20 20 20 20 20 20 20 |doMove">|. |
|00002aa0| 20 3c 70 61 72 61 6d 65 | 74 65 72 20 6e 61 6d 65 | <parame|ter name|
|00002ab0| 3d 22 61 52 65 73 65 74 | 50 6f 73 69 74 69 6f 6e |="aReset|Position|
|00002ac0| 22 2f 3e 0a 20 20 20 20 | 20 20 20 20 3c 62 6f 64 |"/>. | <bod|
|00002ad0| 79 3e 0a 20 20 20 20 20 | 20 20 20 3c 21 5b 43 44 |y>. | <![CD|
|00002ae0| 41 54 41 5b 0a 20 20 20 | 20 20 20 20 20 20 20 74 |ATA[. | t|
|00002af0| 68 69 73 2e 5f 6c 61 73 | 74 4d 6f 76 65 44 61 74 |his._las|tMoveDat|
|00002b00| 65 20 3d 20 44 61 74 65 | 2e 6e 6f 77 28 29 3b 0a |e = Date|.now();.|
|00002b10| 0a 20 20 20 20 20 20 20 | 20 20 20 2f 2f 73 74 61 |. | //sta|
|00002b20| 72 74 4e 65 77 44 69 72 | 65 63 74 69 6f 6e 20 69 |rtNewDir|ection i|
|00002b30| 73 20 74 72 75 65 20 61 | 74 20 66 69 72 73 74 20 |s true a|t first |
|00002b40| 6c 6f 61 64 20 61 6e 64 | 20 77 68 65 6e 65 76 65 |load and| wheneve|
|00002b50| 72 20 74 68 65 20 64 69 | 72 65 63 74 69 6f 6e 20 |r the di|rection |
|00002b60| 69 73 20 63 68 61 6e 67 | 65 64 0a 20 20 20 20 20 |is chang|ed. |
|00002b70| 20 20 20 20 20 69 66 20 | 28 74 68 69 73 2e 73 74 | if |(this.st|
|00002b80| 61 72 74 4e 65 77 44 69 | 72 65 63 74 69 6f 6e 29 |artNewDi|rection)|
|00002b90| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | {. | t|
|00002ba0| 68 69 73 2e 73 74 61 72 | 74 4e 65 77 44 69 72 65 |his.star|tNewDire|
|00002bb0| 63 74 69 6f 6e 20 3d 20 | 66 61 6c 73 65 3b 20 2f |ction = |false; /|
|00002bc0| 2f 77 65 20 6f 6e 6c 79 | 20 77 61 6e 74 20 74 68 |/we only| want th|
|00002bd0| 69 73 20 74 6f 20 72 75 | 6e 20 6f 6e 63 65 20 65 |is to ru|n once e|
|00002be0| 76 65 72 79 20 73 63 72 | 6f 6c 6c 20 64 69 72 65 |very scr|oll dire|
|00002bf0| 63 74 69 6f 6e 20 63 68 | 61 6e 67 65 0a 0a 20 20 |ction ch|ange.. |
|00002c00| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 63 6f | | var co|
|00002c10| 72 72 76 61 6c 75 65 20 | 3d 20 30 3b 0a 0a 20 20 |rrvalue |= 0;.. |
|00002c20| 20 20 20 20 20 20 20 20 | 20 20 73 77 69 74 63 68 | | switch|
|00002c30| 20 28 74 68 69 73 2e 5f | 64 69 72 65 63 74 69 6f | (this._|directio|
|00002c40| 6e 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 7b |n). | {|
|00002c50| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |. | c|
|00002c60| 61 73 65 20 22 75 70 22 | 3a 0a 20 20 20 20 20 20 |ase "up"|:. |
|00002c70| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 68 65 | | var he|
|00002c80| 69 67 68 74 20 3d 20 64 | 6f 63 75 6d 65 6e 74 2e |ight = d|ocument.|
|00002c90| 64 65 66 61 75 6c 74 56 | 69 65 77 2e 67 65 74 43 |defaultV|iew.getC|
|00002ca0| 6f 6d 70 75 74 65 64 53 | 74 79 6c 65 28 74 68 69 |omputedS|tyle(thi|
|00002cb0| 73 2c 20 22 22 29 2e 68 | 65 69 67 68 74 3b 0a 20 |s, "").h|eight;. |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00002cd0| 68 69 73 2e 6f 75 74 65 | 72 44 69 76 2e 73 74 79 |his.oute|rDiv.sty|
|00002ce0| 6c 65 2e 68 65 69 67 68 | 74 20 3d 20 68 65 69 67 |le.heigh|t = heig|
|00002cf0| 68 74 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ht;. | |
|00002d00| 20 20 20 20 69 66 20 28 | 74 68 69 73 2e 6f 72 69 | if (|this.ori|
|00002d10| 67 69 6e 61 6c 48 65 69 | 67 68 74 20 3e 20 74 68 |ginalHei|ght > th|
|00002d20| 69 73 2e 6f 75 74 65 72 | 44 69 76 2e 6f 66 66 73 |is.outer|Div.offs|
|00002d30| 65 74 48 65 69 67 68 74 | 29 0a 20 20 20 20 20 20 |etHeight|). |
|00002d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 6f | | co|
|00002d50| 72 72 76 61 6c 75 65 20 | 3d 20 74 68 69 73 2e 6f |rrvalue |= this.o|
|00002d60| 72 69 67 69 6e 61 6c 48 | 65 69 67 68 74 20 2d 20 |riginalH|eight - |
|00002d70| 74 68 69 73 2e 6f 75 74 | 65 72 44 69 76 2e 6f 66 |this.out|erDiv.of|
|00002d80| 66 73 65 74 48 65 69 67 | 68 74 3b 0a 20 20 20 20 |fsetHeig|ht;. |
|00002d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 | | this|
|00002da0| 2e 69 6e 6e 65 72 44 69 | 76 2e 73 74 79 6c 65 2e |.innerDi|v.style.|
|00002db0| 70 61 64 64 69 6e 67 20 | 3d 20 68 65 69 67 68 74 |padding |= height|
|00002dc0| 20 2b 20 22 20 30 22 3b | 0a 20 20 20 20 20 20 20 | + " 0";|. |
|00002dd0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 64 69 | | this.di|
|00002de0| 72 73 69 67 6e 20 3d 20 | 31 3b 0a 20 20 20 20 20 |rsign = |1;. |
|00002df0| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00002e00| 73 74 61 72 74 41 74 20 | 3d 20 28 74 68 69 73 2e |startAt |= (this.|
|00002e10| 5f 62 65 68 61 76 69 6f | 72 20 3d 3d 20 27 61 6c |_behavio|r == 'al|
|00002e20| 74 65 72 6e 61 74 65 27 | 29 20 3f 20 28 74 68 69 |ternate'|) ? (thi|
|00002e30| 73 2e 6f 72 69 67 69 6e | 61 6c 48 65 69 67 68 74 |s.origin|alHeight|
|00002e40| 20 2d 20 63 6f 72 72 76 | 61 6c 75 65 29 20 3a 20 | - corrv|alue) : |
|00002e50| 30 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0;. | |
|00002e60| 20 20 20 74 68 69 73 2e | 73 74 6f 70 41 74 20 20 | this.|stopAt |
|00002e70| 3d 20 28 74 68 69 73 2e | 5f 62 65 68 61 76 69 6f |= (this.|_behavio|
|00002e80| 72 20 3d 3d 20 27 61 6c | 74 65 72 6e 61 74 65 27 |r == 'al|ternate'|
|00002e90| 20 7c 7c 20 74 68 69 73 | 2e 5f 62 65 68 61 76 69 | || this|._behavi|
|00002ea0| 6f 72 20 3d 3d 20 27 73 | 6c 69 64 65 27 29 20 3f |or == 's|lide') ?|
|00002eb0| 20 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00002ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ed0| 20 20 28 70 61 72 73 65 | 49 6e 74 28 68 65 69 67 | (parse|Int(heig|
|00002ee0| 68 74 29 20 2b 20 63 6f | 72 72 76 61 6c 75 65 29 |ht) + co|rrvalue)|
|00002ef0| 20 3a 20 28 74 68 69 73 | 2e 6f 72 69 67 69 6e 61 | : (this|.origina|
|00002f00| 6c 48 65 69 67 68 74 20 | 2b 20 70 61 72 73 65 49 |lHeight |+ parseI|
|00002f10| 6e 74 28 68 65 69 67 68 | 74 29 29 3b 0a 20 20 20 |nt(heigh|t));. |
|00002f20| 20 20 20 20 20 20 20 20 | 20 20 20 62 72 65 61 6b | | break|
|00002f30| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.. | |
|00002f40| 20 63 61 73 65 20 22 64 | 6f 77 6e 22 3a 0a 20 20 | case "d|own":. |
|00002f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 76 61 | | va|
|00002f60| 72 20 68 65 69 67 68 74 | 20 3d 20 64 6f 63 75 6d |r height| = docum|
|00002f70| 65 6e 74 2e 64 65 66 61 | 75 6c 74 56 69 65 77 2e |ent.defa|ultView.|
|00002f80| 67 65 74 43 6f 6d 70 75 | 74 65 64 53 74 79 6c 65 |getCompu|tedStyle|
|00002f90| 28 74 68 69 73 2c 20 22 | 22 29 2e 68 65 69 67 68 |(this, "|").heigh|
|00002fa0| 74 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t;. | |
|00002fb0| 20 20 20 74 68 69 73 2e | 6f 75 74 65 72 44 69 76 | this.|outerDiv|
|00002fc0| 2e 73 74 79 6c 65 2e 68 | 65 69 67 68 74 20 3d 20 |.style.h|eight = |
|00002fd0| 68 65 69 67 68 74 3b 0a | 20 20 20 20 20 20 20 20 |height;.| |
|00002fe0| 20 20 20 20 20 20 20 20 | 69 66 20 28 74 68 69 73 | |if (this|
|00002ff0| 2e 6f 72 69 67 69 6e 61 | 6c 48 65 69 67 68 74 20 |.origina|lHeight |
|00003000| 3e 20 74 68 69 73 2e 6f | 75 74 65 72 44 69 76 2e |> this.o|uterDiv.|
|00003010| 6f 66 66 73 65 74 48 65 | 69 67 68 74 29 0a 20 20 |offsetHe|ight). |
|00003020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003030| 20 20 63 6f 72 72 76 61 | 6c 75 65 20 3d 20 74 68 | corrva|lue = th|
|00003040| 69 73 2e 6f 72 69 67 69 | 6e 61 6c 48 65 69 67 68 |is.origi|nalHeigh|
|00003050| 74 20 2d 20 74 68 69 73 | 2e 6f 75 74 65 72 44 69 |t - this|.outerDi|
|00003060| 76 2e 6f 66 66 73 65 74 | 48 65 69 67 68 74 3b 0a |v.offset|Height;.|
|00003070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003080| 74 68 69 73 2e 69 6e 6e | 65 72 44 69 76 2e 73 74 |this.inn|erDiv.st|
|00003090| 79 6c 65 2e 70 61 64 64 | 69 6e 67 20 3d 20 68 65 |yle.padd|ing = he|
|000030a0| 69 67 68 74 20 2b 20 22 | 20 30 22 3b 0a 20 20 20 |ight + "| 0";. |
|000030b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|000030c0| 73 2e 64 69 72 73 69 67 | 6e 20 3d 20 2d 31 3b 0a |s.dirsig|n = -1;.|
|000030d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000030e0| 74 68 69 73 2e 73 74 61 | 72 74 41 74 20 20 3d 20 |this.sta|rtAt = |
|000030f0| 28 74 68 69 73 2e 5f 62 | 65 68 61 76 69 6f 72 20 |(this._b|ehavior |
|00003100| 3d 3d 20 27 61 6c 74 65 | 72 6e 61 74 65 27 29 20 |== 'alte|rnate') |
|00003110| 3f 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |?. | |
|00003120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003130| 20 20 28 70 61 72 73 65 | 49 6e 74 28 68 65 69 67 | (parse|Int(heig|
|00003140| 68 74 29 20 2b 20 63 6f | 72 72 76 61 6c 75 65 29 |ht) + co|rrvalue)|
|00003150| 20 3a 20 28 74 68 69 73 | 2e 6f 72 69 67 69 6e 61 | : (this|.origina|
|00003160| 6c 48 65 69 67 68 74 20 | 2b 20 70 61 72 73 65 49 |lHeight |+ parseI|
|00003170| 6e 74 28 68 65 69 67 68 | 74 29 29 3b 0a 20 20 20 |nt(heigh|t));. |
|00003180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00003190| 73 2e 73 74 6f 70 41 74 | 20 3d 20 28 74 68 69 73 |s.stopAt| = (this|
|000031a0| 2e 5f 62 65 68 61 76 69 | 6f 72 20 3d 3d 20 27 61 |._behavi|or == 'a|
|000031b0| 6c 74 65 72 6e 61 74 65 | 27 20 7c 7c 20 74 68 69 |lternate|' || thi|
|000031c0| 73 2e 5f 62 65 68 61 76 | 69 6f 72 20 3d 3d 20 27 |s._behav|ior == '|
|000031d0| 73 6c 69 64 65 27 29 20 | 3f 20 0a 20 20 20 20 20 |slide') |? . |
|000031e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000031f0| 20 20 20 20 20 20 20 20 | 20 28 74 68 69 73 2e 6f | | (this.o|
|00003200| 72 69 67 69 6e 61 6c 48 | 65 69 67 68 74 20 2d 20 |riginalH|eight - |
|00003210| 63 6f 72 72 76 61 6c 75 | 65 29 20 3a 20 30 3b 0a |corrvalu|e) : 0;.|
|00003220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 72 | | br|
|00003230| 65 61 6b 3b 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |eak;.. | |
|00003240| 20 20 20 20 63 61 73 65 | 20 22 72 69 67 68 74 22 | case| "right"|
|00003250| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:. | |
|00003260| 20 20 69 66 20 28 74 68 | 69 73 2e 69 6e 6e 65 72 | if (th|is.inner|
|00003270| 44 69 76 2e 6f 66 66 73 | 65 74 57 69 64 74 68 20 |Div.offs|etWidth |
|00003280| 3e 20 74 68 69 73 2e 6f | 75 74 65 72 44 69 76 2e |> this.o|uterDiv.|
|00003290| 6f 66 66 73 65 74 57 69 | 64 74 68 29 0a 20 20 20 |offsetWi|dth). |
|000032a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000032b0| 20 63 6f 72 72 76 61 6c | 75 65 20 3d 20 74 68 69 | corrval|ue = thi|
|000032c0| 73 2e 69 6e 6e 65 72 44 | 69 76 2e 6f 66 66 73 65 |s.innerD|iv.offse|
|000032d0| 74 57 69 64 74 68 20 2d | 20 74 68 69 73 2e 6f 75 |tWidth -| this.ou|
|000032e0| 74 65 72 44 69 76 2e 6f | 66 66 73 65 74 57 69 64 |terDiv.o|ffsetWid|
|000032f0| 74 68 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |th;. | |
|00003300| 20 20 20 20 74 68 69 73 | 2e 64 69 72 73 69 67 6e | this|.dirsign|
|00003310| 20 3d 20 2d 31 3b 0a 20 | 20 20 20 20 20 20 20 20 | = -1;. | |
|00003320| 20 20 20 20 20 20 20 74 | 68 69 73 2e 73 74 6f 70 | t|his.stop|
|00003330| 41 74 20 20 3d 20 28 74 | 68 69 73 2e 5f 62 65 68 |At = (t|his._beh|
|00003340| 61 76 69 6f 72 20 3d 3d | 20 27 61 6c 74 65 72 6e |avior ==| 'altern|
|00003350| 61 74 65 27 20 7c 7c 20 | 74 68 69 73 2e 5f 62 65 |ate' || |this._be|
|00003360| 68 61 76 69 6f 72 20 3d | 3d 20 27 73 6c 69 64 65 |havior =|= 'slide|
|00003370| 27 29 20 3f 20 0a 20 20 | 20 20 20 20 20 20 20 20 |') ? . | |
|00003380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003390| 20 20 20 20 20 28 74 68 | 69 73 2e 69 6e 6e 65 72 | (th|is.inner|
|000033a0| 44 69 76 2e 6f 66 66 73 | 65 74 57 69 64 74 68 20 |Div.offs|etWidth |
|000033b0| 2d 20 63 6f 72 72 76 61 | 6c 75 65 29 20 3a 20 30 |- corrva|lue) : 0|
|000033c0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000033d0| 20 20 74 68 69 73 2e 73 | 74 61 72 74 41 74 20 3d | this.s|tartAt =|
|000033e0| 20 74 68 69 73 2e 6f 75 | 74 65 72 44 69 76 2e 6f | this.ou|terDiv.o|
|000033f0| 66 66 73 65 74 57 69 64 | 74 68 20 2b 20 28 28 74 |ffsetWid|th + ((t|
|00003400| 68 69 73 2e 5f 62 65 68 | 61 76 69 6f 72 20 3d 3d |his._beh|avior ==|
|00003410| 20 27 61 6c 74 65 72 6e | 61 74 65 27 29 20 3f 20 | 'altern|ate') ? |
|00003420| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003440| 63 6f 72 72 76 61 6c 75 | 65 20 3a 20 28 74 68 69 |corrvalu|e : (thi|
|00003450| 73 2e 69 6e 6e 65 72 44 | 69 76 2e 6f 66 66 73 65 |s.innerD|iv.offse|
|00003460| 74 57 69 64 74 68 20 2b | 20 74 68 69 73 2e 73 74 |tWidth +| this.st|
|00003470| 6f 70 41 74 29 29 3b 20 | 20 20 0a 20 20 20 20 20 |opAt)); | . |
|00003480| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0a | | break;.|
|00003490| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |. | c|
|000034a0| 61 73 65 20 22 6c 65 66 | 74 22 3a 0a 20 20 20 20 |ase "lef|t":. |
|000034b0| 20 20 20 20 20 20 20 20 | 20 20 64 65 66 61 75 6c | | defaul|
|000034c0| 74 3a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t:. | |
|000034d0| 20 20 20 69 66 20 28 74 | 68 69 73 2e 69 6e 6e 65 | if (t|his.inne|
|000034e0| 72 44 69 76 2e 6f 66 66 | 73 65 74 57 69 64 74 68 |rDiv.off|setWidth|
|000034f0| 20 3e 20 74 68 69 73 2e | 6f 75 74 65 72 44 69 76 | > this.|outerDiv|
|00003500| 2e 6f 66 66 73 65 74 57 | 69 64 74 68 29 0a 20 20 |.offsetW|idth). |
|00003510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003520| 20 20 63 6f 72 72 76 61 | 6c 75 65 20 3d 20 74 68 | corrva|lue = th|
|00003530| 69 73 2e 69 6e 6e 65 72 | 44 69 76 2e 6f 66 66 73 |is.inner|Div.offs|
|00003540| 65 74 57 69 64 74 68 20 | 2d 20 74 68 69 73 2e 6f |etWidth |- this.o|
|00003550| 75 74 65 72 44 69 76 2e | 6f 66 66 73 65 74 57 69 |uterDiv.|offsetWi|
|00003560| 64 74 68 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |dth;. | |
|00003570| 20 20 20 20 20 74 68 69 | 73 2e 64 69 72 73 69 67 | thi|s.dirsig|
|00003580| 6e 20 3d 20 31 3b 0a 20 | 20 20 20 20 20 20 20 20 |n = 1;. | |
|00003590| 20 20 20 20 20 20 20 74 | 68 69 73 2e 73 74 61 72 | t|his.star|
|000035a0| 74 41 74 20 3d 20 28 74 | 68 69 73 2e 5f 62 65 68 |tAt = (t|his._beh|
|000035b0| 61 76 69 6f 72 20 3d 3d | 20 27 61 6c 74 65 72 6e |avior ==| 'altern|
|000035c0| 61 74 65 27 29 20 3f 20 | 28 74 68 69 73 2e 69 6e |ate') ? |(this.in|
|000035d0| 6e 65 72 44 69 76 2e 6f | 66 66 73 65 74 57 69 64 |nerDiv.o|ffsetWid|
|000035e0| 74 68 20 2d 20 63 6f 72 | 72 76 61 6c 75 65 29 20 |th - cor|rvalue) |
|000035f0| 3a 20 30 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |: 0;. | |
|00003600| 20 20 20 20 20 74 68 69 | 73 2e 73 74 6f 70 41 74 | thi|s.stopAt|
|00003610| 20 20 3d 20 74 68 69 73 | 2e 6f 75 74 65 72 44 69 | = this|.outerDi|
|00003620| 76 2e 6f 66 66 73 65 74 | 57 69 64 74 68 20 2b 20 |v.offset|Width + |
|00003630| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003650| 28 28 74 68 69 73 2e 5f | 62 65 68 61 76 69 6f 72 |((this._|behavior|
|00003660| 20 3d 3d 20 27 61 6c 74 | 65 72 6e 61 74 65 27 20 | == 'alt|ernate' |
|00003670| 7c 7c 20 74 68 69 73 2e | 5f 62 65 68 61 76 69 6f ||| this.|_behavio|
|00003680| 72 20 3d 3d 20 27 73 6c | 69 64 65 27 29 20 3f 20 |r == 'sl|ide') ? |
|00003690| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000036a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000036b0| 63 6f 72 72 76 61 6c 75 | 65 20 3a 20 28 74 68 69 |corrvalu|e : (thi|
|000036c0| 73 2e 69 6e 6e 65 72 44 | 69 76 2e 6f 66 66 73 65 |s.innerD|iv.offse|
|000036d0| 74 57 69 64 74 68 20 2b | 20 74 68 69 73 2e 73 74 |tWidth +| this.st|
|000036e0| 61 72 74 41 74 29 29 3b | 0a 20 20 20 20 20 20 20 |artAt));|. |
|000036f0| 20 20 20 20 20 7d 0a 0a | 20 20 20 20 20 20 20 20 | }..| |
|00003700| 20 20 20 20 69 66 20 28 | 61 52 65 73 65 74 50 6f | if (|aResetPo|
|00003710| 73 69 74 69 6f 6e 29 20 | 7b 0a 20 20 20 20 20 20 |sition) |{. |
|00003720| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 6e 65 77 | |this.new|
|00003730| 50 6f 73 69 74 69 6f 6e | 20 3d 20 74 68 69 73 2e |Position| = this.|
|00003740| 73 74 61 72 74 41 74 3b | 0a 20 20 20 20 20 20 20 |startAt;|. |
|00003750| 20 20 20 20 20 20 20 74 | 68 69 73 2e 5f 66 69 72 | t|his._fir|
|00003760| 65 45 76 65 6e 74 28 22 | 73 74 61 72 74 22 2c 20 |eEvent("|start", |
|00003770| 66 61 6c 73 65 2c 20 66 | 61 6c 73 65 29 3b 0a 20 |false, f|alse);. |
|00003780| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0a 20 20 20 | | }. |
|00003790| 20 20 20 20 20 20 20 7d | 20 2f 2f 65 6e 64 20 69 | }| //end i|
|000037a0| 66 0a 0a 20 20 20 20 20 | 20 20 20 20 20 74 68 69 |f.. | thi|
|000037b0| 73 2e 6e 65 77 50 6f 73 | 69 74 69 6f 6e 20 3d 20 |s.newPos|ition = |
|000037c0| 74 68 69 73 2e 6e 65 77 | 50 6f 73 69 74 69 6f 6e |this.new|Position|
|000037d0| 20 2b 20 28 74 68 69 73 | 2e 64 69 72 73 69 67 6e | + (this|.dirsign|
|000037e0| 20 2a 20 74 68 69 73 2e | 5f 73 63 72 6f 6c 6c 41 | * this.|_scrollA|
|000037f0| 6d 6f 75 6e 74 29 3b 0a | 0a 20 20 20 20 20 20 20 |mount);.|. |
|00003800| 20 20 20 69 66 20 28 28 | 74 68 69 73 2e 64 69 72 | if ((|this.dir|
|00003810| 73 69 67 6e 20 3d 3d 20 | 31 20 26 26 20 74 68 69 |sign == |1 && thi|
|00003820| 73 2e 6e 65 77 50 6f 73 | 69 74 69 6f 6e 20 3e 20 |s.newPos|ition > |
|00003830| 74 68 69 73 2e 73 74 6f | 70 41 74 29 20 7c 7c 0a |this.sto|pAt) ||.|
|00003840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 74 | | (t|
|00003850| 68 69 73 2e 64 69 72 73 | 69 67 6e 20 3d 3d 20 2d |his.dirs|ign == -|
|00003860| 31 20 26 26 20 74 68 69 | 73 2e 6e 65 77 50 6f 73 |1 && thi|s.newPos|
|00003870| 69 74 69 6f 6e 20 3c 20 | 74 68 69 73 2e 73 74 6f |ition < |this.sto|
|00003880| 70 41 74 29 29 0a 20 20 | 20 20 20 20 20 20 20 20 |pAt)). | |
|00003890| 7b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 73 77 |{. | sw|
|000038a0| 69 74 63 68 20 28 74 68 | 69 73 2e 5f 62 65 68 61 |itch (th|is._beha|
|000038b0| 76 69 6f 72 29 20 0a 20 | 20 20 20 20 20 20 20 20 |vior) . | |
|000038c0| 20 20 20 7b 0a 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|000038d0| 20 20 20 63 61 73 65 20 | 27 61 6c 74 65 72 6e 61 | case |'alterna|
|000038e0| 74 65 27 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |te':. | |
|000038f0| 20 20 20 20 20 2f 2f 20 | 6c 65 74 73 20 73 74 61 | // |lets sta|
|00003900| 72 74 20 61 66 72 65 73 | 68 0a 20 20 20 20 20 20 |rt afres|h. |
|00003910| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 73 | | this.s|
|00003920| 74 61 72 74 4e 65 77 44 | 69 72 65 63 74 69 6f 6e |tartNewD|irection|
|00003930| 20 3d 20 74 72 75 65 3b | 0a 0a 20 20 20 20 20 20 | = true;|.. |
|00003940| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 73 77 61 | | // swa|
|00003950| 70 20 64 69 72 65 63 74 | 69 6f 6e 0a 20 20 20 20 |p direct|ion. |
|00003960| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 6f 6e 73 | | cons|
|00003970| 74 20 73 77 61 70 20 3d | 20 7b 6c 65 66 74 3a 20 |t swap =| {left: |
|00003980| 22 72 69 67 68 74 22 2c | 20 64 6f 77 6e 3a 20 22 |"right",| down: "|
|00003990| 75 70 22 2c 20 75 70 3a | 20 22 64 6f 77 6e 22 2c |up", up:| "down",|
|000039a0| 20 72 69 67 68 74 3a 20 | 22 6c 65 66 74 22 7d 3b | right: |"left"};|
|000039b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000039c0| 20 74 68 69 73 2e 5f 64 | 69 72 65 63 74 69 6f 6e | this._d|irection|
|000039d0| 20 3d 20 73 77 61 70 5b | 74 68 69 73 2e 5f 64 69 | = swap[|this._di|
|000039e0| 72 65 63 74 69 6f 6e 5d | 3b 0a 20 20 20 20 20 20 |rection]|;. |
|000039f0| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 6e | | this.n|
|00003a00| 65 77 50 6f 73 69 74 69 | 6f 6e 20 3d 20 74 68 69 |ewPositi|on = thi|
|00003a10| 73 2e 73 74 6f 70 41 74 | 3b 0a 0a 20 20 20 20 20 |s.stopAt|;.. |
|00003a20| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 28 | | if ((|
|00003a30| 74 68 69 73 2e 5f 64 69 | 72 65 63 74 69 6f 6e 20 |this._di|rection |
|00003a40| 3d 3d 20 22 75 70 22 29 | 20 7c 7c 20 28 74 68 69 |== "up")| || (thi|
|00003a50| 73 2e 5f 64 69 72 65 63 | 74 69 6f 6e 20 3d 3d 20 |s._direc|tion == |
|00003a60| 22 64 6f 77 6e 22 29 29 | 0a 20 20 20 20 20 20 20 |"down"))|. |
|00003a70| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00003a80| 6f 75 74 65 72 44 69 76 | 2e 73 63 72 6f 6c 6c 54 |outerDiv|.scrollT|
|00003a90| 6f 70 20 3d 20 74 68 69 | 73 2e 6e 65 77 50 6f 73 |op = thi|s.newPos|
|00003aa0| 69 74 69 6f 6e 3b 0a 20 | 20 20 20 20 20 20 20 20 |ition;. | |
|00003ab0| 20 20 20 20 20 20 20 65 | 6c 73 65 0a 20 20 20 20 | e|lse. |
|00003ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00003ad0| 69 73 2e 6f 75 74 65 72 | 44 69 76 2e 73 63 72 6f |is.outer|Div.scro|
|00003ae0| 6c 6c 4c 65 66 74 20 3d | 20 74 68 69 73 2e 6e 65 |llLeft =| this.ne|
|00003af0| 77 50 6f 73 69 74 69 6f | 6e 3b 0a 0a 20 20 20 20 |wPositio|n;.. |
|00003b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00003b10| 74 68 69 73 2e 5f 6c 6f | 6f 70 20 21 3d 20 31 29 |this._lo|op != 1)|
|00003b20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003b30| 20 20 20 74 68 69 73 2e | 5f 66 69 72 65 45 76 65 | this.|_fireEve|
|00003b40| 6e 74 28 22 62 6f 75 6e | 63 65 22 2c 20 66 61 6c |nt("boun|ce", fal|
|00003b50| 73 65 2c 20 74 72 75 65 | 29 3b 0a 20 20 20 20 20 |se, true|);. |
|00003b60| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0a | | break;.|
|00003b70| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |. | c|
|00003b80| 61 73 65 20 27 73 6c 69 | 64 65 27 3a 0a 20 20 20 |ase 'sli|de':. |
|00003b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 | | if |
|00003ba0| 28 74 68 69 73 2e 5f 6c | 6f 6f 70 20 3e 20 31 29 |(this._l|oop > 1)|
|00003bb0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003bc0| 20 20 20 74 68 69 73 2e | 6e 65 77 50 6f 73 69 74 | this.|newPosit|
|00003bd0| 69 6f 6e 20 3d 20 74 68 | 69 73 2e 73 74 61 72 74 |ion = th|is.start|
|00003be0| 41 74 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |At;. | |
|00003bf0| 20 20 62 72 65 61 6b 3b | 0a 0a 20 20 20 20 20 20 | break;|.. |
|00003c00| 20 20 20 20 20 20 20 20 | 64 65 66 61 75 6c 74 3a | |default:|
|00003c10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003c20| 20 74 68 69 73 2e 6e 65 | 77 50 6f 73 69 74 69 6f | this.ne|wPositio|
|00003c30| 6e 20 3d 20 74 68 69 73 | 2e 73 74 61 72 74 41 74 |n = this|.startAt|
|00003c40| 3b 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;.. | |
|00003c50| 20 20 20 69 66 20 28 28 | 74 68 69 73 2e 5f 64 69 | if ((|this._di|
|00003c60| 72 65 63 74 69 6f 6e 20 | 3d 3d 20 22 75 70 22 29 |rection |== "up")|
|00003c70| 20 7c 7c 20 28 74 68 69 | 73 2e 5f 64 69 72 65 63 | || (thi|s._direc|
|00003c80| 74 69 6f 6e 20 3d 3d 20 | 22 64 6f 77 6e 22 29 29 |tion == |"down"))|
|00003c90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003ca0| 20 20 20 74 68 69 73 2e | 6f 75 74 65 72 44 69 76 | this.|outerDiv|
|00003cb0| 2e 73 63 72 6f 6c 6c 54 | 6f 70 20 3d 20 74 68 69 |.scrollT|op = thi|
|00003cc0| 73 2e 6e 65 77 50 6f 73 | 69 74 69 6f 6e 3b 0a 20 |s.newPos|ition;. |
|00003cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00003ce0| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |lse. | |
|00003cf0| 20 20 20 20 20 20 74 68 | 69 73 2e 6f 75 74 65 72 | th|is.outer|
|00003d00| 44 69 76 2e 73 63 72 6f | 6c 6c 4c 65 66 74 20 3d |Div.scro|llLeft =|
|00003d10| 20 74 68 69 73 2e 6e 65 | 77 50 6f 73 69 74 69 6f | this.ne|wPositio|
|00003d20| 6e 3b 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |n;.. | |
|00003d30| 20 20 20 20 2f 2f 64 69 | 73 70 61 74 63 68 20 73 | //di|spatch s|
|00003d40| 74 61 72 74 20 65 76 65 | 6e 74 2c 20 65 76 65 6e |tart eve|nt, even|
|00003d50| 20 77 68 65 6e 20 74 68 | 69 73 2e 5f 6c 6f 6f 70 | when th|is._loop|
|00003d60| 20 3d 3d 20 31 2c 20 63 | 6f 6d 70 2e 20 77 69 74 | == 1, c|omp. wit|
|00003d70| 68 20 49 45 36 0a 20 20 | 20 20 20 20 20 20 20 20 |h IE6. | |
|00003d80| 20 20 20 20 20 20 74 68 | 69 73 2e 5f 66 69 72 65 | th|is._fire|
|00003d90| 45 76 65 6e 74 28 22 73 | 74 61 72 74 22 2c 20 66 |Event("s|tart", f|
|00003da0| 61 6c 73 65 2c 20 66 61 | 6c 73 65 29 3b 0a 20 20 |alse, fa|lse);. |
|00003db0| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 0a 20 20 20 | | }.. |
|00003dc0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 74 68 69 | | if (thi|
|00003dd0| 73 2e 5f 6c 6f 6f 70 20 | 3e 20 31 29 0a 20 20 20 |s._loop |> 1). |
|00003de0| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00003df0| 5f 6c 6f 6f 70 2d 2d 3b | 0a 20 20 20 20 20 20 20 |_loop--;|. |
|00003e00| 20 20 20 20 20 65 6c 73 | 65 20 69 66 20 28 74 68 | els|e if (th|
|00003e10| 69 73 2e 5f 6c 6f 6f 70 | 20 3d 3d 20 31 29 20 7b |is._loop| == 1) {|
|00003e20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |. | i|
|00003e30| 66 20 28 28 74 68 69 73 | 2e 5f 64 69 72 65 63 74 |f ((this|._direct|
|00003e40| 69 6f 6e 20 3d 3d 20 22 | 75 70 22 29 20 7c 7c 20 |ion == "|up") || |
|00003e50| 28 74 68 69 73 2e 5f 64 | 69 72 65 63 74 69 6f 6e |(this._d|irection|
|00003e60| 20 3d 3d 20 22 64 6f 77 | 6e 22 29 29 0a 20 20 20 | == "dow|n")). |
|00003e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00003e80| 73 2e 6f 75 74 65 72 44 | 69 76 2e 73 63 72 6f 6c |s.outerD|iv.scrol|
|00003e90| 6c 54 6f 70 20 3d 20 74 | 68 69 73 2e 73 74 6f 70 |lTop = t|his.stop|
|00003ea0| 41 74 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |At;. | |
|00003eb0| 20 20 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 20 | else. | |
|00003ec0| 20 20 20 20 20 20 20 74 | 68 69 73 2e 6f 75 74 65 | t|his.oute|
|00003ed0| 72 44 69 76 2e 73 63 72 | 6f 6c 6c 4c 65 66 74 20 |rDiv.scr|ollLeft |
|00003ee0| 3d 20 74 68 69 73 2e 73 | 74 6f 70 41 74 3b 0a 20 |= this.s|topAt;. |
|00003ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00003f00| 73 2e 73 74 6f 70 28 29 | 3b 0a 20 20 20 20 20 20 |s.stop()|;. |
|00003f10| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 66 69 | |this._fi|
|00003f20| 72 65 45 76 65 6e 74 28 | 22 66 69 6e 69 73 68 22 |reEvent(|"finish"|
|00003f30| 2c 20 66 61 6c 73 65 2c | 20 74 72 75 65 29 3b 0a |, false,| true);.|
|00003f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 | | re|
|00003f50| 74 75 72 6e 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |turn;. | |
|00003f60| 20 20 7d 0a 20 20 20 20 | 20 20 20 20 20 20 7d 0a | }. | }.|
|00003f70| 20 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 20 7b | | else {|
|00003f80| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 69 66 20 |. | if |
|00003f90| 28 28 74 68 69 73 2e 5f | 64 69 72 65 63 74 69 6f |((this._|directio|
|00003fa0| 6e 20 3d 3d 20 22 75 70 | 22 29 20 7c 7c 20 28 74 |n == "up|") || (t|
|00003fb0| 68 69 73 2e 5f 64 69 72 | 65 63 74 69 6f 6e 20 3d |his._dir|ection =|
|00003fc0| 3d 20 22 64 6f 77 6e 22 | 29 29 0a 20 20 20 20 20 |= "down"|)). |
|00003fd0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 6f 75 | | this.ou|
|00003fe0| 74 65 72 44 69 76 2e 73 | 63 72 6f 6c 6c 54 6f 70 |terDiv.s|crollTop|
|00003ff0| 20 3d 20 74 68 69 73 2e | 6e 65 77 50 6f 73 69 74 | = this.|newPosit|
|00004000| 69 6f 6e 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ion;. | |
|00004010| 20 65 6c 73 65 0a 20 20 | 20 20 20 20 20 20 20 20 | else. | |
|00004020| 20 20 20 20 74 68 69 73 | 2e 6f 75 74 65 72 44 69 | this|.outerDi|
|00004030| 76 2e 73 63 72 6f 6c 6c | 4c 65 66 74 20 3d 20 74 |v.scroll|Left = t|
|00004040| 68 69 73 2e 6e 65 77 50 | 6f 73 69 74 69 6f 6e 3b |his.newP|osition;|
|00004050| 0a 20 20 20 20 20 20 20 | 20 20 20 7d 0a 0a 20 20 |. | }.. |
|00004060| 20 20 20 20 20 20 20 20 | 76 61 72 20 6d 79 54 68 | |var myTh|
|00004070| 69 73 20 3d 20 74 68 69 | 73 3b 0a 20 20 20 20 20 |is = thi|s;. |
|00004080| 20 20 20 20 20 76 61 72 | 20 6c 61 6d 62 64 61 20 | var| lambda |
|00004090| 3d 20 66 75 6e 63 74 69 | 6f 6e 20 6d 79 54 69 6d |= functi|on myTim|
|000040a0| 65 4f 75 74 46 75 6e 63 | 74 69 6f 6e 28 29 7b 6d |eOutFunc|tion(){m|
|000040b0| 79 54 68 69 73 2e 5f 64 | 6f 4d 6f 76 65 28 66 61 |yThis._d|oMove(fa|
|000040c0| 6c 73 65 29 3b 7d 0a 20 | 20 20 20 20 20 20 20 20 |lse);}. | |
|000040d0| 20 74 68 69 73 2e 72 75 | 6e 49 64 20 3d 20 77 69 | this.ru|nId = wi|
|000040e0| 6e 64 6f 77 2e 73 65 74 | 54 69 6d 65 6f 75 74 28 |ndow.set|Timeout(|
|000040f0| 6c 61 6d 62 64 61 2c 20 | 74 68 69 73 2e 5f 73 63 |lambda, |this._sc|
|00004100| 72 6f 6c 6c 44 65 6c 61 | 79 29 3b 0a 20 20 20 20 |rollDela|y);. |
|00004110| 20 20 20 20 5d 5d 3e 0a | 20 20 20 20 20 20 20 20 | ]]>.| |
|00004120| 3c 2f 62 6f 64 79 3e 0a | 20 20 20 20 20 20 3c 2f |</body>.| </|
|00004130| 6d 65 74 68 6f 64 3e 0a | 0a 20 20 20 20 20 20 3c |method>.|. <|
|00004140| 6d 65 74 68 6f 64 20 6e | 61 6d 65 3d 22 69 6e 69 |method n|ame="ini|
|00004150| 74 22 3e 0a 20 20 20 20 | 20 20 20 20 3c 62 6f 64 |t">. | <bod|
|00004160| 79 3e 0a 20 20 20 20 20 | 20 20 20 3c 21 5b 43 44 |y>. | <![CD|
|00004170| 41 54 41 5b 0a 20 20 20 | 20 20 20 20 20 20 20 74 |ATA[. | t|
|00004180| 68 69 73 2e 73 74 6f 70 | 28 29 3b 0a 0a 20 20 20 |his.stop|();.. |
|00004190| 20 20 20 20 20 20 20 69 | 66 20 28 28 74 68 69 73 | i|f ((this|
|000041a0| 2e 5f 64 69 72 65 63 74 | 69 6f 6e 20 21 3d 20 22 |._direct|ion != "|
|000041b0| 75 70 22 29 20 26 26 20 | 28 74 68 69 73 2e 5f 64 |up") && |(this._d|
|000041c0| 69 72 65 63 74 69 6f 6e | 20 21 3d 20 22 64 6f 77 |irection| != "dow|
|000041d0| 6e 22 29 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |n")) {. | |
|000041e0| 20 20 20 76 61 72 20 77 | 69 64 74 68 20 3d 20 77 | var w|idth = w|
|000041f0| 69 6e 64 6f 77 2e 67 65 | 74 43 6f 6d 70 75 74 65 |indow.ge|tCompute|
|00004200| 64 53 74 79 6c 65 28 74 | 68 69 73 2c 20 22 22 29 |dStyle(t|his, "")|
|00004210| 2e 77 69 64 74 68 3b 0a | 20 20 20 20 20 20 20 20 |.width;.| |
|00004220| 20 20 20 20 74 68 69 73 | 2e 69 6e 6e 65 72 44 69 | this|.innerDi|
|00004230| 76 2e 70 61 72 65 6e 74 | 4e 6f 64 65 2e 73 74 79 |v.parent|Node.sty|
|00004240| 6c 65 2e 6d 61 72 67 69 | 6e 20 3d 20 27 30 20 27 |le.margi|n = '0 '|
|00004250| 20 2b 20 77 69 64 74 68 | 3b 0a 0a 20 20 20 20 20 | + width|;.. |
|00004260| 20 20 20 20 20 20 20 2f | 2f 58 58 58 20 41 64 64 | /|/XXX Add|
|00004270| 69 6e 67 20 74 68 65 20 | 6d 61 72 67 69 6e 20 73 |ing the |margin s|
|00004280| 6f 6d 65 74 69 6d 65 73 | 20 63 61 75 73 65 73 20 |ometimes| causes |
|00004290| 74 68 65 20 6d 61 72 71 | 75 65 65 20 74 6f 20 77 |the marq|uee to w|
|000042a0| 69 64 65 6e 2c 20 0a 20 | 20 20 20 20 20 20 20 20 |iden, . | |
|000042b0| 20 20 20 2f 2f 20 73 65 | 65 20 74 65 73 74 63 61 | // se|e testca|
|000042c0| 73 65 20 66 72 6f 6d 20 | 62 75 67 20 62 75 67 20 |se from |bug bug |
|000042d0| 33 36 34 34 33 34 3a 20 | 0a 20 20 20 20 20 20 20 |364434: |. |
|000042e0| 20 20 20 20 20 2f 2f 20 | 68 74 74 70 73 3a 2f 2f | // |https://|
|000042f0| 62 75 67 7a 69 6c 6c 61 | 2e 6d 6f 7a 69 6c 6c 61 |bugzilla|.mozilla|
|00004300| 2e 6f 72 67 2f 61 74 74 | 61 63 68 6d 65 6e 74 2e |.org/att|achment.|
|00004310| 63 67 69 3f 69 64 3d 32 | 34 39 32 33 33 0a 20 20 |cgi?id=2|49233. |
|00004320| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 4a 75 73 | | // Jus|
|00004330| 74 20 61 64 64 20 61 20 | 66 69 78 65 64 20 77 69 |t add a |fixed wi|
|00004340| 64 74 68 20 77 69 74 68 | 20 63 75 72 72 65 6e 74 |dth with| current|
|00004350| 20 6d 61 72 71 75 65 65 | 27 73 20 77 69 64 74 68 | marquee|'s width|
|00004360| 20 66 6f 72 20 6e 6f 77 | 0a 20 20 20 20 20 20 20 | for now|. |
|00004370| 20 20 20 20 20 69 66 20 | 28 77 69 64 74 68 20 21 | if |(width !|
|00004380| 3d 20 77 69 6e 64 6f 77 | 2e 67 65 74 43 6f 6d 70 |= window|.getComp|
|00004390| 75 74 65 64 53 74 79 6c | 65 28 74 68 69 73 2c 20 |utedStyl|e(this, |
|000043a0| 22 22 29 2e 77 69 64 74 | 68 29 20 7b 0a 20 20 20 |"").widt|h) {. |
|000043b0| 20 20 20 20 20 20 20 20 | 20 20 20 76 61 72 20 77 | | var w|
|000043c0| 69 64 74 68 20 3d 20 77 | 69 6e 64 6f 77 2e 67 65 |idth = w|indow.ge|
|000043d0| 74 43 6f 6d 70 75 74 65 | 64 53 74 79 6c 65 28 74 |tCompute|dStyle(t|
|000043e0| 68 69 73 2c 20 22 22 29 | 2e 77 69 64 74 68 3b 0a |his, "")|.width;.|
|000043f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 | | th|
|00004400| 69 73 2e 6f 75 74 65 72 | 44 69 76 2e 73 74 79 6c |is.outer|Div.styl|
|00004410| 65 2e 77 69 64 74 68 20 | 3d 20 77 69 64 74 68 3b |e.width |= width;|
|00004420| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 |. | t|
|00004430| 68 69 73 2e 69 6e 6e 65 | 72 44 69 76 2e 70 61 72 |his.inne|rDiv.par|
|00004440| 65 6e 74 4e 6f 64 65 2e | 73 74 79 6c 65 2e 6d 61 |entNode.|style.ma|
|00004450| 72 67 69 6e 20 3d 20 27 | 30 20 27 20 2b 20 77 69 |rgin = '|0 ' + wi|
|00004460| 64 74 68 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |dth;. | |
|00004470| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 | }. | }. |
|00004480| 20 20 20 20 20 20 20 20 | 20 65 6c 73 65 20 7b 0a | | else {.|
|00004490| 20 20 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 73 | | // s|
|000044a0| 74 6f 72 65 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |tore the| origina|
|000044b0| 6c 20 68 65 69 67 68 74 | 20 62 65 66 6f 72 65 20 |l height| before |
|000044c0| 77 65 20 61 64 64 20 70 | 61 64 64 69 6e 67 0a 20 |we add p|adding. |
|000044d0| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|000044e0| 69 6e 6e 65 72 44 69 76 | 2e 73 74 79 6c 65 2e 70 |innerDiv|.style.p|
|000044f0| 61 64 64 69 6e 67 20 3d | 20 30 3b 0a 20 20 20 20 |adding =| 0;. |
|00004500| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 6f 72 69 | |this.ori|
|00004510| 67 69 6e 61 6c 48 65 69 | 67 68 74 20 3d 20 74 68 |ginalHei|ght = th|
|00004520| 69 73 2e 69 6e 6e 65 72 | 44 69 76 2e 6f 66 66 73 |is.inner|Div.offs|
|00004530| 65 74 48 65 69 67 68 74 | 3b 0a 20 20 20 20 20 20 |etHeight|;. |
|00004540| 20 20 20 20 7d 0a 0a 20 | 20 20 20 20 20 20 20 20 | }.. | |
|00004550| 20 74 68 69 73 2e 5f 64 | 6f 4d 6f 76 65 28 74 72 | this._d|oMove(tr|
|00004560| 75 65 29 3b 0a 20 20 20 | 20 20 20 20 20 5d 5d 3e |ue);. | ]]>|
|00004570| 0a 20 20 20 20 20 20 20 | 20 3c 2f 62 6f 64 79 3e |. | </body>|
|00004580| 0a 20 20 20 20 20 20 3c | 2f 6d 65 74 68 6f 64 3e |. <|/method>|
|00004590| 0a 0a 20 20 20 20 20 20 | 3c 63 6f 6e 73 74 72 75 |.. |<constru|
|000045a0| 63 74 6f 72 3e 0a 20 20 | 20 20 20 20 20 20 3c 21 |ctor>. | <!|
|000045b0| 5b 43 44 41 54 41 5b 0a | 20 20 20 20 20 20 20 20 |[CDATA[.| |
|000045c0| 20 20 2f 2f 20 68 61 63 | 6b 20 6e 65 65 64 65 64 | // hac|k needed|
|000045d0| 20 74 6f 20 66 69 78 20 | 6a 73 20 65 72 72 6f 72 | to fix |js error|
|000045e0| 2c 20 73 65 65 20 62 75 | 67 20 33 38 36 34 37 30 |, see bu|g 386470|
|000045f0| 0a 20 20 20 20 20 20 20 | 20 20 20 76 61 72 20 6d |. | var m|
|00004600| 79 54 68 69 73 20 3d 20 | 74 68 69 73 3b 0a 20 20 |yThis = |this;. |
|00004610| 20 20 20 20 20 20 20 20 | 76 61 72 20 6c 61 6d 62 | |var lamb|
|00004620| 64 61 20 3d 20 66 75 6e | 63 74 69 6f 6e 20 6d 79 |da = fun|ction my|
|00004630| 53 63 6f 70 65 46 75 6e | 63 74 69 6f 6e 28 29 20 |ScopeFun|ction() |
|00004640| 7b 20 69 66 20 28 6d 79 | 54 68 69 73 2e 69 6e 69 |{ if (my|This.ini|
|00004650| 74 29 20 6d 79 54 68 69 | 73 2e 69 6e 69 74 28 29 |t) myThi|s.init()|
|00004660| 3b 20 7d 0a 0a 20 20 20 | 20 20 20 20 20 20 20 74 |; }.. | t|
|00004670| 68 69 73 2e 5f 73 65 74 | 5f 64 69 72 65 63 74 69 |his._set|_directi|
|00004680| 6f 6e 28 74 68 69 73 2e | 67 65 74 41 74 74 72 69 |on(this.|getAttri|
|00004690| 62 75 74 65 28 27 64 69 | 72 65 63 74 69 6f 6e 27 |bute('di|rection'|
|000046a0| 29 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 |));. | th|
|000046b0| 69 73 2e 5f 73 65 74 5f | 62 65 68 61 76 69 6f 72 |is._set_|behavior|
|000046c0| 28 74 68 69 73 2e 67 65 | 74 41 74 74 72 69 62 75 |(this.ge|tAttribu|
|000046d0| 74 65 28 27 62 65 68 61 | 76 69 6f 72 27 29 29 3b |te('beha|vior'));|
|000046e0| 0a 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e |. | this.|
|000046f0| 5f 73 65 74 5f 73 63 72 | 6f 6c 6c 44 65 6c 61 79 |_set_scr|ollDelay|
|00004700| 28 74 68 69 73 2e 67 65 | 74 41 74 74 72 69 62 75 |(this.ge|tAttribu|
|00004710| 74 65 28 27 73 63 72 6f | 6c 6c 64 65 6c 61 79 27 |te('scro|lldelay'|
|00004720| 29 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 |));. | th|
|00004730| 69 73 2e 5f 73 65 74 5f | 73 63 72 6f 6c 6c 41 6d |is._set_|scrollAm|
|00004740| 6f 75 6e 74 28 74 68 69 | 73 2e 67 65 74 41 74 74 |ount(thi|s.getAtt|
|00004750| 72 69 62 75 74 65 28 27 | 73 63 72 6f 6c 6c 61 6d |ribute('|scrollam|
|00004760| 6f 75 6e 74 27 29 29 3b | 0a 20 20 20 20 20 20 20 |ount'));|. |
|00004770| 20 20 20 74 68 69 73 2e | 5f 73 65 74 5f 6c 6f 6f | this.|_set_loo|
|00004780| 70 28 74 68 69 73 2e 67 | 65 74 41 74 74 72 69 62 |p(this.g|etAttrib|
|00004790| 75 74 65 28 27 6c 6f 6f | 70 27 29 29 3b 0a 20 20 |ute('loo|p'));. |
|000047a0| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 73 65 | |this._se|
|000047b0| 74 45 76 65 6e 74 4c 69 | 73 74 65 6e 65 72 28 22 |tEventLi|stener("|
|000047c0| 73 74 61 72 74 22 2c 20 | 74 68 69 73 2e 67 65 74 |start", |this.get|
|000047d0| 41 74 74 72 69 62 75 74 | 65 28 22 6f 6e 73 74 61 |Attribut|e("onsta|
|000047e0| 72 74 22 29 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |rt"));. | |
|000047f0| 20 74 68 69 73 2e 5f 73 | 65 74 45 76 65 6e 74 4c | this._s|etEventL|
|00004800| 69 73 74 65 6e 65 72 28 | 22 66 69 6e 69 73 68 22 |istener(|"finish"|
|00004810| 2c 20 74 68 69 73 2e 67 | 65 74 41 74 74 72 69 62 |, this.g|etAttrib|
|00004820| 75 74 65 28 22 6f 6e 66 | 69 6e 69 73 68 22 29 29 |ute("onf|inish"))|
|00004830| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 74 68 69 73 |;. | this|
|00004840| 2e 5f 73 65 74 45 76 65 | 6e 74 4c 69 73 74 65 6e |._setEve|ntListen|
|00004850| 65 72 28 22 62 6f 75 6e | 63 65 22 2c 20 74 68 69 |er("boun|ce", thi|
|00004860| 73 2e 67 65 74 41 74 74 | 72 69 62 75 74 65 28 22 |s.getAtt|ribute("|
|00004870| 6f 6e 62 6f 75 6e 63 65 | 22 29 29 3b 0a 20 20 20 |onbounce|"));. |
|00004880| 20 20 20 20 20 20 20 74 | 68 69 73 2e 73 74 61 72 | t|his.star|
|00004890| 74 4e 65 77 44 69 72 65 | 63 74 69 6f 6e 20 3d 20 |tNewDire|ction = |
|000048a0| 74 72 75 65 3b 0a 0a 20 | 20 20 20 20 20 20 20 20 |true;.. | |
|000048b0| 20 2f 2f 20 69 6e 69 74 | 20 6e 65 65 64 73 20 74 | // init| needs t|
|000048c0| 6f 20 62 65 20 72 75 6e | 20 61 66 74 65 72 20 74 |o be run| after t|
|000048d0| 68 65 20 70 61 67 65 20 | 68 61 73 20 6c 6f 61 64 |he page |has load|
|000048e0| 65 64 20 69 6e 20 6f 72 | 64 65 72 20 74 6f 20 63 |ed in or|der to c|
|000048f0| 61 6c 63 75 6c 61 74 65 | 0a 20 20 20 20 20 20 20 |alculate|. |
|00004900| 20 20 20 2f 2f 20 74 68 | 65 20 63 6f 72 72 65 63 | // th|e correc|
|00004910| 74 20 68 65 69 67 68 74 | 2f 77 69 64 74 68 0a 20 |t height|/width. |
|00004920| 20 20 20 20 20 20 20 20 | 20 77 69 6e 64 6f 77 2e | | window.|
|00004930| 61 64 64 45 76 65 6e 74 | 4c 69 73 74 65 6e 65 72 |addEvent|Listener|
|00004940| 28 22 6c 6f 61 64 22 2c | 20 6c 61 6d 62 64 61 2c |("load",| lambda,|
|00004950| 20 66 61 6c 73 65 29 3b | 0a 20 20 20 20 20 20 20 | false);|. |
|00004960| 20 5d 5d 3e 0a 20 20 20 | 20 20 20 3c 2f 63 6f 6e | ]]>. | </con|
|00004970| 73 74 72 75 63 74 6f 72 | 3e 0a 20 20 20 20 3c 2f |structor|>. </|
|00004980| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 3e 0a |implemen|tation>.|
|00004990| 0a 20 20 20 20 3c 68 61 | 6e 64 6c 65 72 73 3e 0a |. <ha|ndlers>.|
|000049a0| 20 20 20 20 20 20 3c 68 | 61 6e 64 6c 65 72 20 65 | <h|andler e|
|000049b0| 76 65 6e 74 3d 22 44 4f | 4d 41 74 74 72 4d 6f 64 |vent="DO|MAttrMod|
|000049c0| 69 66 69 65 64 22 20 70 | 68 61 73 65 3d 22 74 61 |ified" p|hase="ta|
|000049d0| 72 67 65 74 22 3e 0a 20 | 20 20 20 20 20 20 20 3c |rget">. | <|
|000049e0| 21 5b 43 44 41 54 41 5b | 0a 20 20 20 20 20 20 20 |![CDATA[|. |
|000049f0| 20 20 20 76 61 72 20 61 | 74 74 72 4e 61 6d 65 20 | var a|ttrName |
|00004a00| 3d 20 65 76 65 6e 74 2e | 61 74 74 72 4e 61 6d 65 |= event.|attrName|
|00004a10| 2e 74 6f 4c 6f 77 65 72 | 43 61 73 65 28 29 3b 0a |.toLower|Case();.|
|00004a20| 20 20 20 20 20 20 20 20 | 20 20 76 61 72 20 6f 6c | | var ol|
|00004a30| 64 56 61 6c 75 65 20 3d | 20 65 76 65 6e 74 2e 70 |dValue =| event.p|
|00004a40| 72 65 76 56 61 6c 75 65 | 2e 74 6f 4c 6f 77 65 72 |revValue|.toLower|
|00004a50| 43 61 73 65 28 29 3b 0a | 20 20 20 20 20 20 20 20 |Case();.| |
|00004a60| 20 20 76 61 72 20 6e 65 | 77 56 61 6c 75 65 20 3d | var ne|wValue =|
|00004a70| 20 65 76 65 6e 74 2e 6e | 65 77 56 61 6c 75 65 2e | event.n|ewValue.|
|00004a80| 74 6f 4c 6f 77 65 72 43 | 61 73 65 28 29 3b 0a 20 |toLowerC|ase();. |
|00004a90| 20 20 20 20 20 20 20 20 | 20 76 61 72 20 61 74 74 | | var att|
|00004aa0| 72 69 62 75 74 65 52 65 | 6d 6f 76 61 6c 20 3d 20 |ributeRe|moval = |
|00004ab0| 66 61 6c 73 65 3b 0a 20 | 20 20 20 20 20 20 20 20 |false;. | |
|00004ac0| 20 69 66 20 28 65 76 65 | 6e 74 2e 61 74 74 72 43 | if (eve|nt.attrC|
|00004ad0| 68 61 6e 67 65 20 3d 3d | 20 65 76 65 6e 74 2e 52 |hange ==| event.R|
|00004ae0| 45 4d 4f 56 41 4c 29 20 | 7b 0a 20 20 20 20 20 20 |EMOVAL) |{. |
|00004af0| 20 20 20 20 20 20 6e 65 | 77 56 61 6c 75 65 20 3d | ne|wValue =|
|00004b00| 20 6e 75 6c 6c 3b 0a 20 | 20 20 20 20 20 20 20 20 | null;. | |
|00004b10| 20 20 20 61 74 74 72 69 | 62 75 74 65 52 65 6d 6f | attri|buteRemo|
|00004b20| 76 61 6c 20 3d 20 74 72 | 75 65 3b 0a 20 20 20 20 |val = tr|ue;. |
|00004b30| 20 20 20 20 20 20 7d 3b | 0a 0a 20 20 20 20 20 20 | };|.. |
|00004b40| 20 20 20 20 69 66 20 28 | 6f 6c 64 56 61 6c 75 65 | if (|oldValue|
|00004b50| 20 21 3d 20 6e 65 77 56 | 61 6c 75 65 29 20 7b 0a | != newV|alue) {.|
|00004b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 77 69 74 | | swit|
|00004b70| 63 68 20 28 61 74 74 72 | 4e 61 6d 65 29 20 7b 0a |ch (attr|Name) {.|
|00004b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca|
|00004b90| 73 65 20 22 6c 6f 6f 70 | 22 3a 0a 20 20 20 20 20 |se "loop|":. |
|00004ba0| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 21 | | if (!|
|00004bb0| 74 68 69 73 2e 5f 73 65 | 74 5f 6c 6f 6f 70 28 6e |this._se|t_loop(n|
|00004bc0| 65 77 56 61 6c 75 65 29 | 29 20 7b 0a 20 20 20 20 |ewValue)|) {. |
|00004bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00004be0| 20 28 61 74 74 72 69 62 | 75 74 65 52 65 6d 6f 76 | (attrib|uteRemov|
|00004bf0| 61 6c 29 20 7b 0a 20 20 | 20 20 20 20 20 20 20 20 |al) {. | |
|00004c00| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 5f | | this._|
|00004c10| 6c 6f 6f 70 20 3d 20 2d | 31 3b 0a 20 20 20 20 20 |loop = -|1;. |
|00004c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00004c30| 66 20 28 74 68 69 73 2e | 72 75 6e 49 64 20 3d 3d |f (this.|runId ==|
|00004c40| 20 30 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | 0). | |
|00004c50| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 73 | | this.s|
|00004c60| 74 61 72 74 28 29 3b 0a | 20 20 20 20 20 20 20 20 |tart();.| |
|00004c70| 20 20 20 20 20 20 20 20 | 20 20 7d 0a 20 20 20 20 | | }. |
|00004c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6c | | el|
|00004c90| 73 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |se. | |
|00004ca0| 20 20 20 20 20 20 20 74 | 68 72 6f 77 20 6e 65 77 | t|hrow new|
|00004cb0| 20 45 72 72 6f 72 28 22 | 49 6e 76 61 6c 69 64 20 | Error("|Invalid |
|00004cc0| 61 72 67 75 6d 65 6e 74 | 20 66 6f 72 20 4d 61 72 |argument| for Mar|
|00004cd0| 71 75 65 65 3a 3a 6c 6f | 6f 70 22 29 3b 0a 20 20 |quee::lo|op");. |
|00004ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7d 0a | | }.|
|00004cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d00| 69 66 20 28 74 68 69 73 | 2e 72 75 6e 64 49 64 20 |if (this|.rundId |
|00004d10| 3d 3d 20 30 29 0a 20 20 | 20 20 20 20 20 20 20 20 |== 0). | |
|00004d20| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 73 74 61 | |this.sta|
|00004d30| 72 74 28 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |rt();. | |
|00004d40| 20 20 20 20 20 20 62 72 | 65 61 6b 3b 0a 20 20 20 | br|eak;. |
|00004d50| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 73 65 20 | | case |
|00004d60| 22 73 63 72 6f 6c 6c 61 | 6d 6f 75 6e 74 22 3a 0a |"scrolla|mount":.|
|00004d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d80| 69 66 20 28 21 74 68 69 | 73 2e 5f 73 65 74 5f 73 |if (!thi|s._set_s|
|00004d90| 63 72 6f 6c 6c 41 6d 6f | 75 6e 74 28 6e 65 77 56 |crollAmo|unt(newV|
|00004da0| 61 6c 75 65 29 29 20 7b | 0a 20 20 20 20 20 20 20 |alue)) {|. |
|00004db0| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 61 | | if (a|
|00004dc0| 74 74 72 69 62 75 74 65 | 52 65 6d 6f 76 61 6c 29 |ttribute|Removal)|
|00004dd0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004de0| 20 20 20 20 20 74 68 69 | 73 2e 5f 73 63 72 6f 6c | thi|s._scrol|
|00004df0| 6c 41 6d 6f 75 6e 74 20 | 3d 20 36 3b 0a 20 20 20 |lAmount |= 6;. |
|00004e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 65 | | e|
|00004e10| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |lse. | |
|00004e20| 20 20 20 20 20 20 20 20 | 74 68 72 6f 77 20 6e 65 | |throw ne|
|00004e30| 77 20 45 72 72 6f 72 28 | 22 49 6e 76 61 6c 69 64 |w Error(|"Invalid|
|00004e40| 20 61 72 67 75 6d 65 6e | 74 20 66 6f 72 20 4d 61 | argumen|t for Ma|
|00004e50| 72 71 75 65 65 3a 3a 73 | 63 72 6f 6c 6c 41 6d 6f |rquee::s|crollAmo|
|00004e60| 75 6e 74 22 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |unt");. | |
|00004e70| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00004e80| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0a | | break;.|
|00004e90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca|
|00004ea0| 73 65 20 22 73 63 72 6f | 6c 6c 64 65 6c 61 79 22 |se "scro|lldelay"|
|00004eb0| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:. | |
|00004ec0| 20 20 69 66 20 28 21 74 | 68 69 73 2e 5f 73 65 74 | if (!t|his._set|
|00004ed0| 5f 73 63 72 6f 6c 6c 44 | 65 6c 61 79 28 6e 65 77 |_scrollD|elay(new|
|00004ee0| 56 61 6c 75 65 29 29 20 | 7b 0a 20 20 20 20 20 20 |Value)) |{. |
|00004ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 20 28 | | if (|
|00004f00| 61 74 74 72 69 62 75 74 | 65 52 65 6d 6f 76 61 6c |attribut|eRemoval|
|00004f10| 29 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00004f20| 20 20 20 20 20 20 74 68 | 69 73 2e 5f 73 63 72 6f | th|is._scro|
|00004f30| 6c 6c 44 65 6c 61 79 20 | 3d 20 38 35 3b 0a 20 20 |llDelay |= 85;. |
|00004f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f50| 65 6c 73 65 0a 20 20 20 | 20 20 20 20 20 20 20 20 |else. | |
|00004f60| 20 20 20 20 20 20 20 20 | 20 74 68 72 6f 77 20 6e | | throw n|
|00004f70| 65 77 20 45 72 72 6f 72 | 28 22 49 6e 76 61 6c 69 |ew Error|("Invali|
|00004f80| 64 20 61 72 67 75 6d 65 | 6e 74 20 66 6f 72 20 4d |d argume|nt for M|
|00004f90| 61 72 71 75 65 65 3a 3a | 73 63 72 6f 6c 6c 44 65 |arquee::|scrollDe|
|00004fa0| 6c 61 79 22 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |lay");. | |
|00004fb0| 20 20 20 20 20 20 20 7d | 0a 20 20 20 20 20 20 20 | }|. |
|00004fc0| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 73 74 | | this.st|
|00004fd0| 6f 70 28 29 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |op();. | |
|00004fe0| 20 20 20 20 20 20 74 68 | 69 73 2e 73 74 61 72 74 | th|is.start|
|00004ff0| 28 29 3b 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |();. | |
|00005000| 20 20 20 20 62 72 65 61 | 6b 3b 0a 20 20 20 20 20 | brea|k;. |
|00005010| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 22 74 | | case "t|
|00005020| 72 75 65 73 70 65 65 64 | 22 3a 0a 20 20 20 20 20 |ruespeed|":. |
|00005030| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 6e 65 65 | | //nee|
|00005040| 64 65 64 20 74 6f 20 75 | 70 64 61 74 65 20 74 68 |ded to u|pdate th|
|00005050| 69 73 2e 5f 73 63 72 6f | 6c 6c 44 65 6c 61 79 0a |is._scro|llDelay.|
|00005060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005070| 76 61 72 20 6d 79 54 68 | 69 73 20 3d 20 74 68 69 |var myTh|is = thi|
|00005080| 73 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s;. | |
|00005090| 20 20 20 76 61 72 20 6c | 61 6d 62 64 61 20 3d 20 | var l|ambda = |
|000050a0| 66 75 6e 63 74 69 6f 6e | 28 29 20 7b 6d 79 54 68 |function|() {myTh|
|000050b0| 69 73 2e 5f 73 65 74 5f | 73 63 72 6f 6c 6c 44 65 |is._set_|scrollDe|
|000050c0| 6c 61 79 28 6d 79 54 68 | 69 73 2e 67 65 74 41 74 |lay(myTh|is.getAt|
|000050d0| 74 72 69 62 75 74 65 28 | 27 73 63 72 6f 6c 6c 64 |tribute(|'scrolld|
|000050e0| 65 6c 61 79 27 29 29 3b | 7d 0a 20 20 20 20 20 20 |elay'));|}. |
|000050f0| 20 20 20 20 20 20 20 20 | 20 20 77 69 6e 64 6f 77 | | window|
|00005100| 2e 73 65 74 54 69 6d 65 | 6f 75 74 28 6c 61 6d 62 |.setTime|out(lamb|
|00005110| 64 61 2c 20 30 29 3b 0a | 20 20 20 20 20 20 20 20 |da, 0);.| |
|00005120| 20 20 20 20 20 20 20 20 | 62 72 65 61 6b 3b 0a 20 | |break;. |
|00005130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 61 73 | | cas|
|00005140| 65 20 22 62 65 68 61 76 | 69 6f 72 22 3a 0a 20 20 |e "behav|ior":. |
|00005150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|00005160| 20 28 21 74 68 69 73 2e | 5f 73 65 74 5f 62 65 68 | (!this.|_set_beh|
|00005170| 61 76 69 6f 72 28 6e 65 | 77 56 61 6c 75 65 29 29 |avior(ne|wValue))|
|00005180| 20 7b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | {. | |
|00005190| 20 20 20 20 20 69 66 20 | 28 61 74 74 72 69 62 75 | if |(attribu|
|000051a0| 74 65 52 65 6d 6f 76 61 | 6c 29 0a 20 20 20 20 20 |teRemova|l). |
|000051b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|000051c0| 68 69 73 2e 5f 62 65 68 | 61 76 69 6f 72 20 3d 20 |his._beh|avior = |
|000051d0| 22 73 63 72 6f 6c 6c 22 | 3b 0a 20 20 20 20 20 20 |"scroll"|;. |
|000051e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 65 6c 73 65 | | else|
|000051f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00005200| 20 20 20 20 20 74 68 72 | 6f 77 20 6e 65 77 20 45 | thr|ow new E|
|00005210| 72 72 6f 72 28 22 49 6e | 76 61 6c 69 64 20 61 72 |rror("In|valid ar|
|00005220| 67 75 6d 65 6e 74 20 66 | 6f 72 20 4d 61 72 71 75 |gument f|or Marqu|
|00005230| 65 65 3a 3a 62 65 68 61 | 76 69 6f 72 22 29 3b 0a |ee::beha|vior");.|
|00005240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005250| 7d 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}.. | |
|00005260| 20 20 20 74 68 69 73 2e | 73 74 61 72 74 4e 65 77 | this.|startNew|
|00005270| 44 69 72 65 63 74 69 6f | 6e 20 3d 20 74 72 75 65 |Directio|n = true|
|00005280| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00005290| 20 20 69 66 20 28 28 6f | 6c 64 56 61 6c 75 65 20 | if ((o|ldValue |
|000052a0| 3d 3d 20 22 73 6c 69 64 | 65 22 20 26 26 20 74 68 |== "slid|e" && th|
|000052b0| 69 73 2e 6e 65 77 50 6f | 73 69 74 69 6f 6e 20 3d |is.newPo|sition =|
|000052c0| 3d 20 74 68 69 73 2e 73 | 74 6f 70 41 74 29 20 7c |= this.s|topAt) ||
|000052d0| 7c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 ||. | |
|000052e0| 20 20 20 20 20 20 6e 65 | 77 56 61 6c 75 65 20 3d | ne|wValue =|
|000052f0| 3d 20 22 61 6c 74 65 72 | 6e 61 74 65 22 20 7c 7c |= "alter|nate" |||
|00005300| 20 6e 65 77 56 61 6c 75 | 65 20 3d 3d 20 22 73 6c | newValu|e == "sl|
|00005310| 69 64 65 22 29 20 7b 0a | 20 20 20 20 20 20 20 20 |ide") {.| |
|00005320| 20 20 20 20 20 20 20 20 | 20 20 74 68 69 73 2e 73 | | this.s|
|00005330| 74 6f 70 28 29 3b 0a 20 | 20 20 20 20 20 20 20 20 |top();. | |
|00005340| 20 20 20 20 20 20 20 20 | 20 74 68 69 73 2e 5f 64 | | this._d|
|00005350| 6f 4d 6f 76 65 28 74 72 | 75 65 29 3b 0a 20 20 20 |oMove(tr|ue);. |
|00005360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 | | }. |
|00005370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 62 | | b|
|00005380| 72 65 61 6b 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |reak;. | |
|00005390| 20 20 20 20 63 61 73 65 | 20 22 64 69 72 65 63 74 | case| "direct|
|000053a0| 69 6f 6e 22 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |ion":. | |
|000053b0| 20 20 20 20 20 20 69 66 | 20 28 21 74 68 69 73 2e | if| (!this.|
|000053c0| 5f 73 65 74 5f 64 69 72 | 65 63 74 69 6f 6e 28 6e |_set_dir|ection(n|
|000053d0| 65 77 56 61 6c 75 65 29 | 29 20 7b 0a 20 20 20 20 |ewValue)|) {. |
|000053e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 | | if|
|000053f0| 20 28 61 74 74 72 69 62 | 75 74 65 52 65 6d 6f 76 | (attrib|uteRemov|
|00005400| 61 6c 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |al). | |
|00005410| 20 20 20 20 20 20 20 20 | 74 68 69 73 2e 5f 64 69 | |this._di|
|00005420| 72 65 63 74 69 6f 6e 20 | 3d 20 22 6c 65 66 74 22 |rection |= "left"|
|00005430| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00005440| 20 20 20 20 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | else|. |
|00005450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 72 | | thr|
|00005460| 6f 77 20 6e 65 77 20 45 | 72 72 6f 72 28 22 49 6e |ow new E|rror("In|
|00005470| 76 61 6c 69 64 20 61 72 | 67 75 6d 65 6e 74 20 66 |valid ar|gument f|
|00005480| 6f 72 20 4d 61 72 71 75 | 65 65 3a 3a 64 69 72 65 |or Marqu|ee::dire|
|00005490| 63 74 69 6f 6e 22 29 3b | 0a 20 20 20 20 20 20 20 |ction");|. |
|000054a0| 20 20 20 20 20 20 20 20 | 20 7d 0a 20 20 20 20 20 | | }. |
|000054b0| 20 20 20 20 20 20 20 20 | 20 20 20 62 72 65 61 6b | | break|
|000054c0| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000054d0| 63 61 73 65 20 22 77 69 | 64 74 68 22 3a 0a 20 20 |case "wi|dth":. |
|000054e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|000054f0| 20 22 68 65 69 67 68 74 | 22 3a 0a 20 20 20 20 20 | "height|":. |
|00005500| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 69 73 2e | | this.|
|00005510| 73 74 61 72 74 4e 65 77 | 44 69 72 65 63 74 69 6f |startNew|Directio|
|00005520| 6e 20 3d 20 74 72 75 65 | 3b 0a 20 20 20 20 20 20 |n = true|;. |
|00005530| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|00005540| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |. | c|
|00005550| 61 73 65 20 22 6f 6e 73 | 74 61 72 74 22 3a 0a 20 |ase "ons|tart":. |
|00005560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00005570| 68 69 73 2e 5f 73 65 74 | 45 76 65 6e 74 4c 69 73 |his._set|EventLis|
|00005580| 74 65 6e 65 72 28 22 73 | 74 61 72 74 22 2c 20 6e |tener("s|tart", n|
|00005590| 65 77 56 61 6c 75 65 29 | 3b 0a 20 20 20 20 20 20 |ewValue)|;. |
|000055a0| 20 20 20 20 20 20 20 20 | 20 20 62 72 65 61 6b 3b | | break;|
|000055b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 |. | c|
|000055c0| 61 73 65 20 22 6f 6e 66 | 69 6e 69 73 68 22 3a 0a |ase "onf|inish":.|
|000055d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000055e0| 74 68 69 73 2e 5f 73 65 | 74 45 76 65 6e 74 4c 69 |this._se|tEventLi|
|000055f0| 73 74 65 6e 65 72 28 22 | 66 69 6e 69 73 68 22 2c |stener("|finish",|
|00005600| 20 6e 65 77 56 61 6c 75 | 65 29 3b 0a 20 20 20 20 | newValu|e);. |
|00005610| 20 20 20 20 20 20 20 20 | 20 20 20 20 62 72 65 61 | | brea|
|00005620| 6b 3b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |k;. | |
|00005630| 20 63 61 73 65 20 22 6f | 6e 62 6f 75 6e 63 65 22 | case "o|nbounce"|
|00005640| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:. | |
|00005650| 20 20 74 68 69 73 2e 5f | 73 65 74 45 76 65 6e 74 | this._|setEvent|
|00005660| 4c 69 73 74 65 6e 65 72 | 28 22 62 6f 75 6e 63 65 |Listener|("bounce|
|00005670| 22 2c 20 6e 65 77 56 61 | 6c 75 65 29 3b 0a 20 20 |", newVa|lue);. |
|00005680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 62 72 | | br|
|00005690| 65 61 6b 3b 0a 20 20 20 | 20 20 20 20 20 20 20 20 |eak;. | |
|000056a0| 20 7d 0a 20 20 20 20 20 | 20 20 20 20 20 7d 0a 20 | }. | }. |
|000056b0| 20 20 20 20 20 20 20 5d | 5d 3e 0a 20 20 20 20 20 | ]|]>. |
|000056c0| 20 3c 2f 68 61 6e 64 6c | 65 72 3e 0a 20 20 20 20 | </handl|er>. |
|000056d0| 3c 2f 68 61 6e 64 6c 65 | 72 73 3e 0a 0a 20 20 3c |</handle|rs>.. <|
|000056e0| 2f 62 69 6e 64 69 6e 67 | 3e 0a 0a 20 20 3c 62 69 |/binding|>.. <bi|
|000056f0| 6e 64 69 6e 67 20 69 64 | 3d 22 6d 61 72 71 75 65 |nding id|="marque|
|00005700| 65 2d 68 6f 72 69 7a 6f | 6e 74 61 6c 22 0a 20 20 |e-horizo|ntal". |
|00005710| 20 20 20 20 20 20 20 20 | 20 65 78 74 65 6e 64 73 | | extends|
|00005720| 3d 22 63 68 72 6f 6d 65 | 3a 2f 2f 78 62 6c 2d 6d |="chrome|://xbl-m|
|00005730| 61 72 71 75 65 65 2f 63 | 6f 6e 74 65 6e 74 2f 78 |arquee/c|ontent/x|
|00005740| 62 6c 2d 6d 61 72 71 75 | 65 65 2e 78 6d 6c 23 6d |bl-marqu|ee.xml#m|
|00005750| 61 72 71 75 65 65 22 0a | 20 20 20 20 20 20 20 20 |arquee".| |
|00005760| 20 20 20 69 6e 68 65 72 | 69 74 73 74 79 6c 65 3d | inher|itstyle=|
|00005770| 22 66 61 6c 73 65 22 3e | 0a 0a 20 20 20 20 3c 21 |"false">|.. <!|
|00005780| 2d 2d 20 57 68 69 74 65 | 2d 73 70 61 63 65 20 69 |-- White|-space i|
|00005790| 73 6e 27 74 20 61 6c 6c | 6f 77 65 64 20 62 65 63 |sn't all|owed bec|
|000057a0| 61 75 73 65 20 61 20 6d | 61 72 71 75 65 65 20 63 |ause a m|arquee c|
|000057b0| 6f 75 6c 64 20 62 65 20 | 0a 20 20 20 20 20 20 20 |ould be |. |
|000057c0| 20 20 69 6e 73 69 64 65 | 20 27 77 68 69 74 65 2d | inside| 'white-|
|000057d0| 73 70 61 63 65 3a 20 70 | 72 65 27 20 2d 2d 3e 0a |space: p|re' -->.|
|000057e0| 20 20 20 20 3c 63 6f 6e | 74 65 6e 74 3e 0a 20 20 | <con|tent>. |
|000057f0| 20 20 20 20 3c 68 74 6d | 6c 3a 64 69 76 20 73 74 | <htm|l:div st|
|00005800| 79 6c 65 3d 22 64 69 73 | 70 6c 61 79 3a 20 2d 6d |yle="dis|play: -m|
|00005810| 6f 7a 2d 62 6f 78 3b 20 | 6f 76 65 72 66 6c 6f 77 |oz-box; |overflow|
|00005820| 3a 20 68 69 64 64 65 6e | 3b 20 77 69 64 74 68 3a |: hidden|; width:|
|00005830| 20 2d 6d 6f 7a 2d 61 76 | 61 69 6c 61 62 6c 65 3b | -moz-av|ailable;|
|00005840| 22 0a 20 20 20 20 20 20 | 20 20 3e 3c 68 74 6d 6c |". | ><html|
|00005850| 3a 64 69 76 20 73 74 79 | 6c 65 3d 22 64 69 73 70 |:div sty|le="disp|
|00005860| 6c 61 79 3a 20 2d 6d 6f | 7a 2d 62 6f 78 3b 22 0a |lay: -mo|z-box;".|
|00005870| 20 20 20 20 20 20 20 20 | 20 20 3e 3c 68 74 6d 6c | | ><html|
|00005880| 3a 64 69 76 20 63 6c 61 | 73 73 3d 22 69 6e 6e 65 |:div cla|ss="inne|
|00005890| 72 44 69 76 22 20 73 74 | 79 6c 65 3d 22 64 69 73 |rDiv" st|yle="dis|
|000058a0| 70 6c 61 79 3a 20 74 61 | 62 6c 65 3b 20 62 6f 72 |play: ta|ble; bor|
|000058b0| 64 65 72 2d 73 70 61 63 | 69 6e 67 3a 20 30 3b 22 |der-spac|ing: 0;"|
|000058c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 3e 3c 68 |. | ><h|
|000058d0| 74 6d 6c 3a 64 69 76 0a | 20 20 20 20 20 20 20 20 |tml:div.| |
|000058e0| 20 20 20 20 20 20 3e 3c | 63 68 69 6c 64 72 65 6e | ><|children|
|000058f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 3e 3c |. | /><|
|00005900| 2f 68 74 6d 6c 3a 64 69 | 76 0a 20 20 20 20 20 20 |/html:di|v. |
|00005910| 20 20 20 20 3e 3c 2f 68 | 74 6d 6c 3a 64 69 76 0a | ></h|tml:div.|
|00005920| 20 20 20 20 20 20 20 20 | 3e 3c 2f 68 74 6d 6c 3a | |></html:|
|00005930| 64 69 76 0a 20 20 20 20 | 20 20 3e 3c 2f 68 74 6d |div. | ></htm|
|00005940| 6c 3a 64 69 76 3e 0a 20 | 20 20 20 3c 2f 63 6f 6e |l:div>. | </con|
|00005950| 74 65 6e 74 3e 0a 0a 20 | 20 3c 2f 62 69 6e 64 69 |tent>.. | </bindi|
|00005960| 6e 67 3e 0a 0a 20 20 3c | 62 69 6e 64 69 6e 67 20 |ng>.. <|binding |
|00005970| 69 64 3d 22 6d 61 72 71 | 75 65 65 2d 76 65 72 74 |id="marq|uee-vert|
|00005980| 69 63 61 6c 22 0a 20 20 | 20 20 20 20 20 20 20 20 |ical". | |
|00005990| 20 65 78 74 65 6e 64 73 | 3d 22 63 68 72 6f 6d 65 | extends|="chrome|
|000059a0| 3a 2f 2f 78 62 6c 2d 6d | 61 72 71 75 65 65 2f 63 |://xbl-m|arquee/c|
|000059b0| 6f 6e 74 65 6e 74 2f 78 | 62 6c 2d 6d 61 72 71 75 |ontent/x|bl-marqu|
|000059c0| 65 65 2e 78 6d 6c 23 6d | 61 72 71 75 65 65 22 0a |ee.xml#m|arquee".|
|000059d0| 20 20 20 20 20 20 20 20 | 20 20 20 69 6e 68 65 72 | | inher|
|000059e0| 69 74 73 74 79 6c 65 3d | 22 66 61 6c 73 65 22 3e |itstyle=|"false">|
|000059f0| 0a 0a 20 20 20 20 3c 21 | 2d 2d 20 57 68 69 74 65 |.. <!|-- White|
|00005a00| 2d 73 70 61 63 65 20 69 | 73 6e 27 74 20 61 6c 6c |-space i|sn't all|
|00005a10| 6f 77 65 64 20 62 65 63 | 61 75 73 65 20 61 20 6d |owed bec|ause a m|
|00005a20| 61 72 71 75 65 65 20 63 | 6f 75 6c 64 20 62 65 20 |arquee c|ould be |
|00005a30| 0a 20 20 20 20 20 20 20 | 20 20 69 6e 73 69 64 65 |. | inside|
|00005a40| 20 27 77 68 69 74 65 2d | 73 70 61 63 65 3a 20 70 | 'white-|space: p|
|00005a50| 72 65 27 20 2d 2d 3e 0a | 20 20 20 20 3c 63 6f 6e |re' -->.| <con|
|00005a60| 74 65 6e 74 3e 0a 20 20 | 20 20 20 20 3c 68 74 6d |tent>. | <htm|
|00005a70| 6c 3a 64 69 76 20 73 74 | 79 6c 65 3d 22 6f 76 65 |l:div st|yle="ove|
|00005a80| 72 66 6c 6f 77 3a 20 68 | 69 64 64 65 6e 3b 20 77 |rflow: h|idden; w|
|00005a90| 69 64 74 68 3a 20 2d 6d | 6f 7a 2d 61 76 61 69 6c |idth: -m|oz-avail|
|00005aa0| 61 62 6c 65 3b 22 0a 20 | 20 20 20 20 20 20 20 3e |able;". | >|
|00005ab0| 3c 68 74 6d 6c 3a 64 69 | 76 20 63 6c 61 73 73 3d |<html:di|v class=|
|00005ac0| 22 69 6e 6e 65 72 44 69 | 76 22 0a 20 20 20 20 20 |"innerDi|v". |
|00005ad0| 20 20 20 20 20 3e 3c 63 | 68 69 6c 64 72 65 6e 0a | ><c|hildren.|
|00005ae0| 20 20 20 20 20 20 20 20 | 2f 3e 3c 2f 68 74 6d 6c | |/></html|
|00005af0| 3a 64 69 76 0a 20 20 20 | 20 20 20 3e 3c 2f 68 74 |:div. | ></ht|
|00005b00| 6d 6c 3a 64 69 76 3e 0a | 20 20 20 20 3c 2f 63 6f |ml:div>.| </co|
|00005b10| 6e 74 65 6e 74 3e 0a 0a | 20 20 3c 2f 62 69 6e 64 |ntent>..| </bind|
|00005b20| 69 6e 67 3e 0a 0a 20 20 | 3c 62 69 6e 64 69 6e 67 |ing>.. |<binding|
|00005b30| 20 69 64 3d 22 6d 61 72 | 71 75 65 65 2d 68 6f 72 | id="mar|quee-hor|
|00005b40| 69 7a 6f 6e 74 61 6c 2d | 65 64 69 74 61 62 6c 65 |izontal-|editable|
|00005b50| 22 0a 20 20 20 20 20 20 | 20 20 20 20 20 69 6e 68 |". | inh|
|00005b60| 65 72 69 74 73 74 79 6c | 65 3d 22 66 61 6c 73 65 |eritstyl|e="false|
|00005b70| 22 3e 0a 0a 20 20 20 20 | 3c 21 2d 2d 20 57 68 69 |">.. |<!-- Whi|
|00005b80| 74 65 2d 73 70 61 63 65 | 20 69 73 6e 27 74 20 61 |te-space| isn't a|
|00005b90| 6c 6c 6f 77 65 64 20 62 | 65 63 61 75 73 65 20 61 |llowed b|ecause a|
|00005ba0| 20 6d 61 72 71 75 65 65 | 20 63 6f 75 6c 64 20 62 | marquee| could b|
|00005bb0| 65 20 0a 20 20 20 20 20 | 20 20 20 20 69 6e 73 69 |e . | insi|
|00005bc0| 64 65 20 27 77 68 69 74 | 65 2d 73 70 61 63 65 3a |de 'whit|e-space:|
|00005bd0| 20 70 72 65 27 20 2d 2d | 3e 0a 20 20 20 20 3c 63 | pre' --|>. <c|
|00005be0| 6f 6e 74 65 6e 74 3e 0a | 20 20 20 20 20 20 3c 68 |ontent>.| <h|
|00005bf0| 74 6d 6c 3a 64 69 76 20 | 73 74 79 6c 65 3d 22 64 |tml:div |style="d|
|00005c00| 69 73 70 6c 61 79 3a 20 | 2d 6d 6f 7a 2d 62 6f 78 |isplay: |-moz-box|
|00005c10| 3b 20 6f 76 65 72 66 6c | 6f 77 3a 20 61 75 74 6f |; overfl|ow: auto|
|00005c20| 3b 20 77 69 64 74 68 3a | 20 2d 6d 6f 7a 2d 61 76 |; width:| -moz-av|
|00005c30| 61 69 6c 61 62 6c 65 3b | 22 0a 20 20 20 20 20 20 |ailable;|". |
|00005c40| 20 20 3e 3c 63 68 69 6c | 64 72 65 6e 0a 20 20 20 | ><chil|dren. |
|00005c50| 20 20 20 2f 3e 3c 2f 68 | 74 6d 6c 3a 64 69 76 3e | /></h|tml:div>|
|00005c60| 0a 20 20 20 20 3c 2f 63 | 6f 6e 74 65 6e 74 3e 0a |. </c|ontent>.|
|00005c70| 0a 20 20 3c 2f 62 69 6e | 64 69 6e 67 3e 0a 0a 20 |. </bin|ding>.. |
|00005c80| 20 3c 62 69 6e 64 69 6e | 67 20 69 64 3d 22 6d 61 | <bindin|g id="ma|
|00005c90| 72 71 75 65 65 2d 76 65 | 72 74 69 63 61 6c 2d 65 |rquee-ve|rtical-e|
|00005ca0| 64 69 74 61 62 6c 65 22 | 0a 20 20 20 20 20 20 20 |ditable"|. |
|00005cb0| 20 20 20 20 69 6e 68 65 | 72 69 74 73 74 79 6c 65 | inhe|ritstyle|
|00005cc0| 3d 22 66 61 6c 73 65 22 | 3e 0a 0a 20 20 20 20 3c |="false"|>.. <|
|00005cd0| 21 2d 2d 20 57 68 69 74 | 65 2d 73 70 61 63 65 20 |!-- Whit|e-space |
|00005ce0| 69 73 6e 27 74 20 61 6c | 6c 6f 77 65 64 20 62 65 |isn't al|lowed be|
|00005cf0| 63 61 75 73 65 20 61 20 | 6d 61 72 71 75 65 65 20 |cause a |marquee |
|00005d00| 63 6f 75 6c 64 20 62 65 | 20 0a 20 20 20 20 20 20 |could be| . |
|00005d10| 20 20 20 69 6e 73 69 64 | 65 20 27 77 68 69 74 65 | insid|e 'white|
|00005d20| 2d 73 70 61 63 65 3a 20 | 70 72 65 27 20 2d 2d 3e |-space: |pre' -->|
|00005d30| 0a 20 20 20 20 3c 63 6f | 6e 74 65 6e 74 3e 0a 20 |. <co|ntent>. |
|00005d40| 20 20 20 20 20 3c 68 74 | 6d 6c 3a 64 69 76 20 73 | <ht|ml:div s|
|00005d50| 74 79 6c 65 3d 22 6f 76 | 65 72 66 6c 6f 77 3a 20 |tyle="ov|erflow: |
|00005d60| 61 75 74 6f 3b 20 68 65 | 69 67 68 74 3a 20 69 6e |auto; he|ight: in|
|00005d70| 68 65 72 69 74 3b 20 77 | 69 64 74 68 3a 20 2d 6d |herit; w|idth: -m|
|00005d80| 6f 7a 2d 61 76 61 69 6c | 61 62 6c 65 3b 22 0a 20 |oz-avail|able;". |
|00005d90| 20 20 20 20 20 20 20 3e | 3c 63 68 69 6c 64 72 65 | >|<childre|
|00005da0| 6e 2f 3e 3c 2f 68 74 6d | 6c 3a 64 69 76 3e 0a 20 |n/></htm|l:div>. |
|00005db0| 20 20 20 3c 2f 63 6f 6e | 74 65 6e 74 3e 0a 0a 20 | </con|tent>.. |
|00005dc0| 20 3c 2f 62 69 6e 64 69 | 6e 67 3e 0a 0a 3c 2f 62 | </bindi|ng>..</b|
|00005dd0| 69 6e 64 69 6e 67 73 3e | 0a 50 4b 03 04 0a 00 00 |indings>|.PK.....|
|00005de0| 00 00 00 54 54 51 36 eb | e5 ca 1b 81 07 00 00 81 |...TTQ6.|........|
|00005df0| 07 00 00 23 00 00 00 63 | 6f 6e 74 65 6e 74 2f 78 |...#...c|ontent/x|
|00005e00| 62 6c 2d 6d 61 72 71 75 | 65 65 2f 78 62 6c 2d 6d |bl-marqu|ee/xbl-m|
|00005e10| 61 72 71 75 65 65 2e 63 | 73 73 2f 2a 20 2a 2a 2a |arquee.c|ss/* ***|
|00005e20| 2a 2a 20 42 45 47 49 4e | 20 4c 49 43 45 4e 53 45 |** BEGIN| LICENSE|
|00005e30| 20 42 4c 4f 43 4b 20 2a | 2a 2a 2a 2a 0d 0a 20 2a | BLOCK *|****.. *|
|00005e40| 20 56 65 72 73 69 6f 6e | 3a 20 4d 50 4c 20 31 2e | Version|: MPL 1.|
|00005e50| 31 2f 47 50 4c 20 32 2e | 30 2f 4c 47 50 4c 20 32 |1/GPL 2.|0/LGPL 2|
|00005e60| 2e 31 0d 0a 20 2a 0d 0a | 20 2a 20 54 68 65 20 63 |.1.. *..| * The c|
|00005e70| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 69 73 20 |ontents |of this |
|00005e80| 66 69 6c 65 20 61 72 65 | 20 73 75 62 6a 65 63 74 |file are| subject|
|00005e90| 20 74 6f 20 74 68 65 20 | 4d 6f 7a 69 6c 6c 61 20 | to the |Mozilla |
|00005ea0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 56 |Public L|icense V|
|00005eb0| 65 72 73 69 6f 6e 0d 0a | 20 2a 20 31 2e 31 20 28 |ersion..| * 1.1 (|
|00005ec0| 74 68 65 20 22 4c 69 63 | 65 6e 73 65 22 29 3b 20 |the "Lic|ense"); |
|00005ed0| 79 6f 75 20 6d 61 79 20 | 6e 6f 74 20 75 73 65 20 |you may |not use |
|00005ee0| 74 68 69 73 20 66 69 6c | 65 20 65 78 63 65 70 74 |this fil|e except|
|00005ef0| 20 69 6e 20 63 6f 6d 70 | 6c 69 61 6e 63 65 20 77 | in comp|liance w|
|00005f00| 69 74 68 0d 0a 20 2a 20 | 74 68 65 20 4c 69 63 65 |ith.. * |the Lice|
|00005f10| 6e 73 65 2e 20 59 6f 75 | 20 6d 61 79 20 6f 62 74 |nse. You| may obt|
|00005f20| 61 69 6e 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |ain a co|py of th|
|00005f30| 65 20 4c 69 63 65 6e 73 | 65 20 61 74 0d 0a 20 2a |e Licens|e at.. *|
|00005f40| 20 68 74 74 70 3a 2f 2f | 77 77 77 2e 6d 6f 7a 69 | http://|www.mozi|
|00005f50| 6c 6c 61 2e 6f 72 67 2f | 4d 50 4c 2f 0d 0a 20 2a |lla.org/|MPL/.. *|
|00005f60| 0d 0a 20 2a 20 53 6f 66 | 74 77 61 72 65 20 64 69 |.. * Sof|tware di|
|00005f70| 73 74 72 69 62 75 74 65 | 64 20 75 6e 64 65 72 20 |stribute|d under |
|00005f80| 74 68 65 20 4c 69 63 65 | 6e 73 65 20 69 73 20 64 |the Lice|nse is d|
|00005f90| 69 73 74 72 69 62 75 74 | 65 64 20 6f 6e 20 61 6e |istribut|ed on an|
|00005fa0| 20 22 41 53 20 49 53 22 | 20 62 61 73 69 73 2c 0d | "AS IS"| basis,.|
|00005fb0| 0a 20 2a 20 57 49 54 48 | 4f 55 54 20 57 41 52 52 |. * WITH|OUT WARR|
|00005fc0| 41 4e 54 59 20 4f 46 20 | 41 4e 59 20 4b 49 4e 44 |ANTY OF |ANY KIND|
|00005fd0| 2c 20 65 69 74 68 65 72 | 20 65 78 70 72 65 73 73 |, either| express|
|00005fe0| 20 6f 72 20 69 6d 70 6c | 69 65 64 2e 20 53 65 65 | or impl|ied. See|
|00005ff0| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 0d 0a 20 2a | the Lic|ense.. *|
|00006000| 20 66 6f 72 20 74 68 65 | 20 73 70 65 63 69 66 69 | for the| specifi|
|00006010| 63 20 6c 61 6e 67 75 61 | 67 65 20 67 6f 76 65 72 |c langua|ge gover|
|00006020| 6e 69 6e 67 20 72 69 67 | 68 74 73 20 61 6e 64 20 |ning rig|hts and |
|00006030| 6c 69 6d 69 74 61 74 69 | 6f 6e 73 20 75 6e 64 65 |limitati|ons unde|
|00006040| 72 20 74 68 65 0d 0a 20 | 2a 20 4c 69 63 65 6e 73 |r the.. |* Licens|
|00006050| 65 2e 0d 0a 20 2a 0d 0a | 20 2a 20 54 68 65 20 4f |e... *..| * The O|
|00006060| 72 69 67 69 6e 61 6c 20 | 43 6f 64 65 20 69 73 20 |riginal |Code is |
|00006070| 6d 6f 7a 69 6c 6c 61 2e | 6f 72 67 20 63 6f 64 65 |mozilla.|org code|
|00006080| 2e 0d 0a 20 2a 0d 0a 20 | 2a 20 54 68 65 20 49 6e |... *.. |* The In|
|00006090| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 20 |itial De|veloper |
|000060a0| 6f 66 20 74 68 65 20 4f | 72 69 67 69 6e 61 6c 20 |of the O|riginal |
|000060b0| 43 6f 64 65 20 69 73 0d | 0a 20 2a 20 4e 65 74 73 |Code is.|. * Nets|
|000060c0| 63 61 70 65 20 43 6f 6d | 6d 75 6e 69 63 61 74 69 |cape Com|municati|
|000060d0| 6f 6e 73 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |ons Corp|oration.|
|000060e0| 0d 0a 20 2a 20 50 6f 72 | 74 69 6f 6e 73 20 63 72 |.. * Por|tions cr|
|000060f0| 65 61 74 65 64 20 62 79 | 20 74 68 65 20 49 6e 69 |eated by| the Ini|
|00006100| 74 69 61 6c 20 44 65 76 | 65 6c 6f 70 65 72 20 61 |tial Dev|eloper a|
|00006110| 72 65 20 43 6f 70 79 72 | 69 67 68 74 20 28 43 29 |re Copyr|ight (C)|
|00006120| 20 31 39 39 38 0d 0a 20 | 2a 20 74 68 65 20 49 6e | 1998.. |* the In|
|00006130| 69 74 69 61 6c 20 44 65 | 76 65 6c 6f 70 65 72 2e |itial De|veloper.|
|00006140| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|00006150| 72 76 65 64 2e 0d 0a 20 | 2a 0d 0a 20 2a 20 43 6f |rved... |*.. * Co|
|00006160| 6e 74 72 69 62 75 74 6f | 72 28 73 29 3a 0d 0a 20 |ntributo|r(s):.. |
|00006170| 2a 0d 0a 20 2a 20 41 6c | 74 65 72 6e 61 74 69 76 |*.. * Al|ternativ|
|00006180| 65 6c 79 2c 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |ely, the| content|
|00006190| 73 20 6f 66 20 74 68 69 | 73 20 66 69 6c 65 20 6d |s of thi|s file m|
|000061a0| 61 79 20 62 65 20 75 73 | 65 64 20 75 6e 64 65 72 |ay be us|ed under|
|000061b0| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 0d 0a 20 | the ter|ms of.. |
|000061c0| 2a 20 65 69 74 68 65 72 | 20 6f 66 20 74 68 65 20 |* either| of the |
|000061d0| 47 4e 55 20 47 65 6e 65 | 72 61 6c 20 50 75 62 6c |GNU Gene|ral Publ|
|000061e0| 69 63 20 4c 69 63 65 6e | 73 65 20 56 65 72 73 69 |ic Licen|se Versi|
|000061f0| 6f 6e 20 32 20 6f 72 20 | 6c 61 74 65 72 20 28 74 |on 2 or |later (t|
|00006200| 68 65 20 22 47 50 4c 22 | 29 2c 0d 0a 20 2a 20 6f |he "GPL"|),.. * o|
|00006210| 72 20 74 68 65 20 47 4e | 55 20 4c 65 73 73 65 72 |r the GN|U Lesser|
|00006220| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00006230| 4c 69 63 65 6e 73 65 20 | 56 65 72 73 69 6f 6e 20 |License |Version |
|00006240| 32 2e 31 20 6f 72 20 6c | 61 74 65 72 20 28 74 68 |2.1 or l|ater (th|
|00006250| 65 20 22 4c 47 50 4c 22 | 29 2c 0d 0a 20 2a 20 69 |e "LGPL"|),.. * i|
|00006260| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 74 68 65 |n which |case the|
|00006270| 20 70 72 6f 76 69 73 69 | 6f 6e 73 20 6f 66 20 74 | provisi|ons of t|
|00006280| 68 65 20 47 50 4c 20 6f | 72 20 74 68 65 20 4c 47 |he GPL o|r the LG|
|00006290| 50 4c 20 61 72 65 20 61 | 70 70 6c 69 63 61 62 6c |PL are a|pplicabl|
|000062a0| 65 20 69 6e 73 74 65 61 | 64 0d 0a 20 2a 20 6f 66 |e instea|d.. * of|
|000062b0| 20 74 68 6f 73 65 20 61 | 62 6f 76 65 2e 20 49 66 | those a|bove. If|
|000062c0| 20 79 6f 75 20 77 69 73 | 68 20 74 6f 20 61 6c 6c | you wis|h to all|
|000062d0| 6f 77 20 75 73 65 20 6f | 66 20 79 6f 75 72 20 76 |ow use o|f your v|
|000062e0| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|000062f0| 69 6c 65 20 6f 6e 6c 79 | 0d 0a 20 2a 20 75 6e 64 |ile only|.. * und|
|00006300| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|00006310| 65 69 74 68 65 72 20 74 | 68 65 20 47 50 4c 20 6f |either t|he GPL o|
|00006320| 72 20 74 68 65 20 4c 47 | 50 4c 2c 20 61 6e 64 20 |r the LG|PL, and |
|00006330| 6e 6f 74 20 74 6f 20 61 | 6c 6c 6f 77 20 6f 74 68 |not to a|llow oth|
|00006340| 65 72 73 20 74 6f 0d 0a | 20 2a 20 75 73 65 20 79 |ers to..| * use y|
|00006350| 6f 75 72 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |our vers|ion of t|
|00006360| 68 69 73 20 66 69 6c 65 | 20 75 6e 64 65 72 20 74 |his file| under t|
|00006370| 68 65 20 74 65 72 6d 73 | 20 6f 66 20 74 68 65 20 |he terms| of the |
|00006380| 4d 50 4c 2c 20 69 6e 64 | 69 63 61 74 65 20 79 6f |MPL, ind|icate yo|
|00006390| 75 72 0d 0a 20 2a 20 64 | 65 63 69 73 69 6f 6e 20 |ur.. * d|ecision |
|000063a0| 62 79 20 64 65 6c 65 74 | 69 6e 67 20 74 68 65 20 |by delet|ing the |
|000063b0| 70 72 6f 76 69 73 69 6f | 6e 73 20 61 62 6f 76 65 |provisio|ns above|
|000063c0| 20 61 6e 64 20 72 65 70 | 6c 61 63 65 20 74 68 65 | and rep|lace the|
|000063d0| 6d 20 77 69 74 68 20 74 | 68 65 20 6e 6f 74 69 63 |m with t|he notic|
|000063e0| 65 0d 0a 20 2a 20 61 6e | 64 20 6f 74 68 65 72 20 |e.. * an|d other |
|000063f0| 70 72 6f 76 69 73 69 6f | 6e 73 20 72 65 71 75 69 |provisio|ns requi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.